proSumScore: Prorate subscale sum score

Description Usage Arguments

View source: R/proSumScore.R

Description

This function computes a sum score across items in the event of missingness, but also prorates.

Usage

1
proSumScore(rowVector, maxMiss)

Arguments

rowVector

vector; a numeric vector whose elements are to be summed and prorated

maxMiss

numeric; a number specifying the maximum NAs that are allowed prior to calculation


MHS-R/mhs documentation built on May 25, 2019, 12:23 p.m.