list.data {pkgmaker} | R Documentation |
List Package Data Objects
Description
Lists data objects that are shipped within package(s).
Usage
list.data(package = NULL)
Arguments
package |
a single character string that specifies the name of a particular package where to look for data objects. |
Value
a data.frame
object with columns:
-
package
: name of the package that holds the data object. -
data
: name of the key to use in utils::data or ldata to load the data object. -
object
: name of the (sub-)object that is contained in the data object.
See Also
Examples
# list all data objects
head(list.data())
# list all data objects in package 'datasets'
subset(list.data("datasets"), data %in% "beavers")
[Package pkgmaker version 0.32.10 Index]