Learn R Programming

rpf (version 0.35)

EAPscores: Compute EAP scores

Description

Compute EAP scores

Usage

EAPscores(grp, ..., naAction = "fail")

Arguments

grp
a list with spec, param, and data
...
Not used. Forces remaining arguments to be specified by name.
naAction
action for rows with fewer than 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