sf12_v2 | R Documentation |
sf12 version 2 scoring function adapted from SAS code found here https://labs.dgsom.ucla.edu/hays/pages/programs_utilities
sf12_v2(x, revcode_sf2 = FALSE)
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 |
sf12_v2_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.