getScaleSum is a helper function for calculating instrument-wise raw sum scores from response data.

getScaleSum(data, scale_idx)

Arguments

data

a PROsetta_data object.

scale_idx

the instrument index to obtain the raw sum scores.

Examples

getScaleSum(data_asq, 1)
getScaleSum(data_asq, 2)