score_cwc: score_cwc: Score data from the Child Weight Concerns

View source: R/score_cwc.R

score_cwcR Documentation

score_cwc: Score data from the Child Weight Concerns

Description

This function scores the Child Weight Concerns

Usage

score_cwc(cwc_data, parID)

Arguments

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.

Details

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

Value

A dataset with a score for the Child Weight Concerns

References

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)

See Also

Raw data from Qualtrics was processed using the following script: util_fbs_child_v4dat and util_fbs_child_v4dat_home

Examples


# scoring for the cwc with IDs
cwc_score_data <- score_cwc(cwc_data, parID = 'ID')

## Not run: 



alainapearce/kellertools documentation built on Feb. 25, 2024, 7:16 a.m.