CheckVals {JWileymisc} | R Documentation |
Score a set of items to create overall scale score
Description
This function creates a single scale score from a data frame, reversing as needed.
Usage
CheckVals(data, okay, na.rm = TRUE)
Arguments
data |
The data to check |
okay |
A vector of okay or acceptable values |
na.rm |
Logical whether to remove missing values or not. Defaults to |
Value
TRUE
if all values are okay, otherwise an error
[Package JWileymisc version 1.4.1 Index]