add_R {codebook} | R Documentation |
Use this function to conveniently rename reverse-coded variables, so that they end in R.
add_R(x)
x |
a string |
data('bfi')
bfi %>% dplyr::select(BFIK_open_2,BFIK_agree_2) %>% dplyr::rename_at(1, add_R) %>% head()