gds_alter_values | R Documentation |
Necessary step for computing the total score
gds_alter_values(
data,
values = gds_values(),
reverse = FALSE,
cols = matches("01$|05$|07$|09$|15$|19$|21$|27$|29$|30$")
)
data |
data.frame with GDS data in it |
values |
named vector of 2 providing the coding for Yes and No answers c(Yes = 1, No = 2) |
reverse |
reverse logic |
cols |
GDS data columns |
Other gds_functions:
gds_binary()
,
gds_compute_sum()
,
gds_values()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.