View source: R/data_functions.R
dataStr | R Documentation |
This function lists the data sets (with their structure) in specified R packages.
dataStr(package = NULL, df = FALSE, ...)
package |
character. Package name. Default: NULL |
df |
logical. Give information only about all data.frame objects? DEFAULT: FALSE |
... |
Arguments passed from other functions. |
Invisible data.frame. Mainly prints via message
in a for loop.
This function is taken from here.
str
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.