Function to easily set the response coding used in the GDS data.
gds_values(yes = 1, no = 0)
value indicating a positive answer
value indicating a negative answer
list of yes and no values
Other gds_functions:
gds_alter_values()
,
gds_binary()
,
gds_compute_sum()
gds_values()
#> $yes
#> [1] 1
#>
#> $no
#> [1] 0
#>
gds_values(yes = "YES", no = "NO")
#> $yes
#> [1] "YES"
#>
#> $no
#> [1] "NO"
#>