dataStr: Structure of Datasets

View source: R/data_functions.R

dataStrR Documentation

Structure of Datasets

Description

This function lists the data sets (with their structure) in specified R packages.

Usage

dataStr(package = NULL, df = FALSE, ...)

Arguments

package

character. Package name. Default: NULL

df

logical. Give information only about all data.frame objects? DEFAULT: FALSE

...

Arguments passed from other functions.

Value

Invisible data.frame. Mainly prints via message in a for loop.

Author(s)

Omer Kara

References

This function is taken from here.

See Also

str

Examples

## Not run: 
dataStr() ## All loaded packages on search path (package = NULL).
dataStr("datasets") ## Only datasets in base R.
dataStr("colorspace") ## Works with an installed but unloaded package.

## End(Not run)


omerkara/okara documentation built on Nov. 21, 2023, 7:56 p.m.