recode_indicator_num | R Documentation |
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"),
...
)
x |
a |
variable_name |
a vector of strings containing the names of the variables to convert. |
breaks |
see function |
labels |
see function |
... |
other parameters of the |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.