R/tam.R

Defines functions tam

Documented in tam

## File Name: tam.R
## File Version: 9.06
tam <- function(resp, irtmodel="1PL", formulaA=NULL, ...)
{
    facets <- NULL
    res <- NULL
    if (irtmodel %in% c("2PL","GPCM", "GPCM.design", "2PL.groups") ){
        res <- tam.mml.2pl(resp, irtmodel=irtmodel,... )
    }
    if( !is.null(formulaA) ){
        res <- tam.mml.mfr(resp, formulaA=formulaA, facets=facets, ...)
    }
    if( is.null(res) ){
        res <- tam.mml(resp, ...)
    }
}
alexanderrobitzsch/TAM documentation built on Feb. 21, 2024, 5:59 p.m.