Description Usage Arguments Details Value
View source: R/Data_Mgt_Functions.R
The function replaces a specific value label with a new label.
1 | rvlabel(x, from = "Excluded (user-missing)", to = "Excluded user-missing")
|
x |
A variable with class = labelled_spss. |
from |
A character value for the old label to be replaced. |
to |
A character value for the new label that will replace the old one. |
=============================================================================
This function is primarily used to get around the fact that parentheses in the value labels imported with some SPSS data files cause a problem with some of our R code. this allows us to quickly replace those value labels.
An updated variable with class = labelled_spss.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.