Replace values with labels
valid_values_only.Rd
Replace values with labels
Arguments
- raw_score
numeric vector of raw scores.
- var_name
character specifying what test the raw scores are from. Must be one of the names of the entries in
rdd
- remove_errorcodes
should values listed in the
rdd$var_name$codes
be replaced byNA
in output? Either FALSE (default; do not remove valid codes), TRUE (remove all codes), or a numeric vector with codes to remove.