score_psqi.RdTitle
score_psqi(dataDF, pid_col = "ID")
| dataDF | A long data frame with columns named: [PID col], item, and value |
|---|---|
| pid_col | The name of the participant ID column. |
A data frame of scored scales with columns scale_name, scored_scale, [PID col], score, n_items, n_missing, method.