Train (update) a discrete scale
train_discrete(new, existing = NULL, drop = FALSE, na.rm = FALSE, fct = NA)
New data to add to scale
Optional existing scale to update
TRUE
, will drop factor levels not associated with data
If TRUE
, will remove missing values
Treat existing
as if it came from a factor (ie. don't sort the range)