To transform variables from the values matrix into categorical variables that can be added into the modalities matrix.
recode_indicator_num(
x,
variable_name,
breaks = c(0, 0.01, 0.05, 0.1, 1),
labels = c("Good", "Uncertain", "Bad", "Severe"),
...
)
The function recode_indicator_num()
returns the same object,
enhanced with the chosen indicator. So if the input x
is a QR_matrix,
an object of class QR_matrix
is returned. If the input x
is a
mQR_matrix, an object of class mQR_matrix
is returned.
Traduction française
Other var QR_matrix manipulation:
QR_var_manipulation
,
add_indicator()