sf12_v2: sf12_v2 function

View source: R/calcs.R

sf12_v2R Documentation

sf12_v2 function

Description

sf12 version 2 scoring function adapted from SAS code found here https://labs.dgsom.ucla.edu/hays/pages/programs_utilities

Usage

sf12_v2(x, revcode_sf2 = FALSE)

Arguments

x

data frame containing the 12 item sf12 version 2 (must be the version 2)

revcode_sf2

boolean indicating if sf12 variable sf2 should be reverse coded. it appears that it should be but was not in the sas file used in the above mentioned link. default is FALSE meaning the variable will NOT be recoded

Examples

sf12_v2_function()


clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.