R/tamaanify_tam_mml_3pl_designMatrices.R

Defines functions tamaanify_tam_mml_3pl_designMatrices

## File Name: tamaanify_tam_mml_3pl_designMatrices.R
## File Version: 9.215

### design matrices for estimation with tam.mml.3pl method

tamaanify_tam_mml_3pl_designMatrices <- function(res)
{
    res <- switch( res$ANALYSIS.list$type,
            "LCA"=tamaanify.tam.mml.3pl.designMatrices.LCA(res=res),
            "LOCLCA"=tamaanify.tam.mml.3pl.designMatrices.LOCLCA(res=res),
            "OLCA"=tamaanify.tam.mml.3pl.designMatrices.OLCA(res=res),
            "TRAIT"=tamaanify.tam.mml.3pl.designMatrices.TRAIT(res=res),
            "MIXTURE"=tamaanify.tam.mml.3pl.designMatrices.MIXTURE(res=res)
            )
    # output
    return(res)
}

Try the TAM package in your browser

Any scripts or data that you put into this service are public.

TAM documentation built on May 29, 2024, 2:20 a.m.