scales (version 0.4.1)

train_discrete: Train (update) a discrete scale

Description

Train (update) a discrete scale

Usage

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