Train (update) a discrete scale

train_discrete(new, existing = NULL, drop = FALSE, na.rm = FALSE)

Arguments

new

New data to add to scale

existing

Optional existing scale to update

drop

TRUE, will drop factor levels not associated with data

na.rm

If TRUE, will remove missing values