ot_set_variable: Setting value labels to a factor variable

Description Usage Arguments

View source: R/ot_set_variable.R

Description

ot_set_variable is the function to put value labels like SPSS to a integer variable. It returns a factor variable.

Usage

1
ot_set_variable(x, v_label = NULL)

Arguments

x

a vector to set value labels.

v_label

a label string vector: the format "level=label".


momoldo/otmR documentation built on March 27, 2021, 3 a.m.