as_data_backend: Create a Data Backend

Description Usage Arguments Value See Also Examples

View source: R/as_data_backend.R

Description

Wraps a DataBackend around data.

Usage

1

Arguments

data

:: any
Data to create a DataBackend for. For a data.frame() (this includes tibble() from tibble and data.table::data.table()) this function creates a DataBackendDataTable. See methods("as_data_backend") for possible input formats. Note that third-party packages may extend this functionality.

...

:: any
Additional arguments passed to the respective DataBackend method.

Value

DataBackend.

See Also

Other DataBackend: DataBackendDataTable, DataBackendMatrix, DataBackend

Examples

1
2
# create a new backend using the iris data:
as_data_backend(iris)

mllg/mlr3 documentation built on Sept. 27, 2019, 9:38 a.m.