prettyPrintList {ifultools} | R Documentation |
Prints a list of named objects
Description
Prints a list of named objects in a two column format, with the
names of objects in the list in the first column and a summary of the object
in the second. The user can control the justification and separation character
between the columns.
Usage
prettyPrintList(x, header=NULL, justify="left", sep=":")
Arguments
x |
a list of named objects. |
header |
a character string defining the header. Default: NULL (no header). |
justify |
a character string defining the aligment format for the
objects in the list. Choices are "none" , "left" , "right" and "decimal" . |
sep |
a siingle character used to divide the list object names from their
corresponding values. |
See Also
isVectorAtomic
.
Examples
## develop menu
dinner <- list(Entree="Spaghetti and Meatballs",
Starter="Caesar Salad", Dessert="Spumoni",
Beverage="Wine and Water")
## pretty-print the menu
prettyPrintList(dinner, header="What's for dinner?")
[Package
ifultools version 1.0-6
Index]