Set of rules to automatically convert column types.
This is used during rbind-ing of Tasks, but also in some pipe operators in
mlr3pipelines.
All rules are stored as functions in mlr_reflections$auto_converters.
Arguments
- value
(any)
New values to convert in order to matchtype.- id
(
character(1))
Name of the column, used in error messages.- type
(
character(1))
Type to convertvaluesto.- levels
(
character()|NULL)
Levels to use for conversion tofactororordered.