p_data {pacman}R Documentation

Package Data Sets

Description

Generate a script of all data sets contained in package.

Usage

p_data(package = "datasets", static = FALSE)

Arguments

package

name of package (default is the base install datasets package).

static

logical. If TRUE a static text document is returned (e.g. data("datasets")).

Value

Returns the data sets of a package as a data.frame. (static = FALSE) or as a static text file (static = TRUE).

See Also

data

Examples

p_data()
p_data(lattice)
## Not run: 
p_data(static=TRUE)

## End(Not run)

[Package pacman version 0.5.1 Index]