powered by
Generate a script of all data sets contained in package.
p_data(package = "datasets", static = FALSE)
name of package (default is the base install datasets package).
logical. If TRUE a static text document is returned (e.g. data("datasets")).
TRUE
data("datasets")
Returns the data sets of a package as a data.frame. (static = FALSE) or as a static text file (static = TRUE).
data.frame
static = FALSE
static = TRUE
data
# NOT RUN { p_data() p_data(lattice) # } # NOT RUN { p_data(static=TRUE) # }
Run the code above in your browser using DataLab