Title

score_psqi(dataDF, pid_col = "ID")

Arguments

dataDF

A long data frame with columns named: [PID col], item, and value

pid_col

The name of the participant ID column.

Value

A data frame of scored scales with columns scale_name, scored_scale, [PID col], score, n_items, n_missing, method.