a dataframe that contains item scores among other variables
Forward
a vector of variable names to indicate the items that should be summed as is (in contrast to reverse scored). All items should be listed in EITHER Forward or Reverse argument
Reverse
a vector of variable names to indicate the items that should be summed after reverse scoring the items. Range arugment (see below) must also be specified to reverse score items.
Default is NULL which indicates no items are reverse scored. All items should be listed in EITHER Forward or Reverse argument
Range
A numeric vector with two values for low and high anchor values for items. Must be specified if any items will be reverse scored. Used also to do range checking for all items. Default is NULL which indicates no range checking and no reverse scored items
Prorate
A boolean to indicate if total score should be prorated for missing data. Default is TRUE.
MaxMiss
Maximum acceptable percentage of missing data before total score will be set to missing. Implemented regardless if Prorate is TRUE or FALSE. However, if Prorate is false, should probably be set to 0
Value
Returns vector of total scores for each participant
Details
This is a flexible routine to score measures that consist of sums of items.