Usage
contents(object, ...)
## S3 method for class 'data.frame':
contents(object, \dots)
## S3 method for class 'contents.data.frame':
print(x,
sort=c('none','names','labels','NAs'), prlevels=TRUE, ...)
## S3 method for class 'contents.data.frame':
html(object, sort=c('none','names','labels','NAs'), prlevels=TRUE,
file=paste('contents',object$dfname,'html',sep='.'),
append=FALSE, ...)
## S3 method for class 'list':
contents(object, dslabels, \dots)
## S3 method for class 'contents.list':
print(x,
sort=c('none','names','labels','NAs','vars'), ...)Arguments
object
a data frame. For html is an object created by
contents. For contents.list is a list of data frames.
x
an object created by contents
sort
Default is to print the variables in their original order in the
data frame. Specify one of
"names", "labels", or "NAs" to sort the variables by,
respectively, alphabetically by names, alphabetically by label
prlevels
set to FALSE to not print all levels of factor variables
file
file to which to write the html code. Default is
"conents.dfname.html" where dfname is the name of the data
frame processed by contents.
append
set to TRUE to add html code to an existing file
...
arguments passed from html to format.df,
unused otherwise
dslabels
named vector of SAS dataset labels, created for
example by sasdsLabels