This function computes a sum score across items in the event of missingness, but also prorates.
1 | proSumScore(rowVector, maxMiss)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.