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.frame with GDS data in it
named vector of 2 providing the coding for Yes and No answers c(Yes = 1, No = 2)
reverse logic
GDS data columns
Other gds_functions:
gds_binary()
,
gds_compute_sum()
,
gds_values()