load_dataset

0th

Percentile

Retrieve a Single Data Set

Loads a data set with name id from package package and returns it. If the package is not installed, an error with condition "packageNotFoundError" is raised. The name of the missing packages is stored in the condition as packages.

Usage
load_dataset(id, package, keep_rownames = FALSE)
Arguments
id

:: character(1) Name of the data set.

package

:: character(1) Package to load the data set from.

keep_rownames

:: logical(1) Keep possible row names (default: FALSE).

Aliases
  • load_dataset
Examples
# NOT RUN {
head(load_dataset("iris", "datasets"))
# }
Documentation reproduced from package mlr3misc, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.