Learn R Programming

PROsetta (version 0.4.1)

getScaleSum: Calculate raw sum scores of a scale

Description

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

Usage

getScaleSum(data, scale_idx)

Arguments

data

a PROsetta_data object.

scale_idx

the instrument index to obtain the raw sum scores.

Examples

Run this code
getScaleSum(data_asq, 1)
getScaleSum(data_asq, 2)

Run the code above in your browser using DataLab