score_cwc | R Documentation |
This function scores the Child Weight Concerns
score_cwc(cwc_data, parID)
cwc_data |
a data.frame all items for the Child Weight Concerns following the naming conventions described above |
parID |
(optional) name of participant ID column in intake_data. If included the output dataset will be matched by parID, if not included the output dataset will be in the order of intake_data but will have no participant identifier. |
To use this function, the data must be prepared according to the following criteria: 1) The data must include all individual questionnaire items 2) The columns/variables must match the following naming convention: 'cwc#' where # is the question number (1-5) 3) All questions must have the numeric value for the choice starting with the value 1. Each item is scored differently so responses are scaled to be 0-100 for each item.
Note, as long as variable names match those listed, the dataset can include other variables
A dataset with a score for the Child Weight Concerns
Killen JD, Taylor CB, Hayward C, et al. Pursuit of thinness and onset of eating disorder symptoms in a community sample of adolescent girls: A three-year prospective analysis. Int J Eat Disord. 1994;16(3):227-238. doi:10.1002/1098-108X(199411)16:3<227::AID-EAT2260160303>3.0.CO;2-L (PubMed)
Taylor CB, Sharpe T, Shisslak C, et al. Factors associated with weight concerns in adolescent girls. Int J Eat Disord. 1998;24(1):31-42. doi:10.1002/(SICI)1098-108X(199807)24:1<31::AID-EAT3>3.0.CO;2-1 (PubMed)
Raw data from Qualtrics was processed using the following script: util_fbs_child_v4dat
and util_fbs_child_v4dat_home
# scoring for the cwc with IDs
cwc_score_data <- score_cwc(cwc_data, parID = 'ID')
## Not run:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.