Create a Data Backend
Wraps a DataBackend around data.
mlr3 ships with methods for data.frame
(converted to a DataBackendDataTable
and Matrix
from package Matrix (converted to a DataBackendMatrix).
## S3 method for class 'Matrix' as_data_backend(data, primary_key = NULL, dense = NULL, ...) as_data_backend(data, primary_key = NULL, ...) ## S3 method for class 'data.frame' as_data_backend(data, primary_key = NULL, keep_rownames = FALSE, ...)
data |
( |
primary_key |
( |
dense |
( |
... |
( |
keep_rownames |
( |
Other DataBackend:
DataBackendDataTable
,
DataBackendMatrix
,
DataBackend
# create a new backend using the penguins data: as_data_backend(palmerpenguins::penguins)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.