Learn R Programming

rpf (version 0.3)

EAPscores: Compute EAP scores

Description

Compute EAP scores

Usage

EAPscores(grp, ..., naAction = NULL)

Arguments

grp
a list with spec, param, and data
...
Not used. Forces remaining arguments to be specified by name.
naAction
deprecated, will be removed in the next release minItemsPerScore. Defaults to 'fail'. If 'pass', will fill with NAs.

Examples

Run this code
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, minItemsPerScore=1L)
EAPscores(grp)

Run the code above in your browser using DataLab