observedSumScore {rpf} | R Documentation |
Compute the observed sum-score
observedSumScore(grp, ..., mask, summary = TRUE)
grp |
a list with spec, param, and data |
... |
Not used. Forces remaining arguments to be specified by name. |
mask |
a vector of logicals indicating which items to include |
summary |
whether to return a summary (default) or per-row scores |
spec <- list() spec[1:3] <- rpf.grm(outcomes=3) param <- sapply(spec, rpf.rparam) data <- rpf.sample(5, spec, param) colnames(param) <- colnames(data) grp <- list(spec=spec, param=param, data=data) observedSumScore(grp)