R/tam_mml_3pl_computeB.R

Defines functions tam_mml_3pl_computeB

## File Name: tam_mml_3pl_computeB.R
## File Version: 0.11


# function for computation of item loadings
tam_mml_3pl_computeB <- function( Edes, gammaslope, E, skip_B=FALSE, B=NULL )
{
    if (! skip_B){
        B <- tam_rcpp_mml_3pl_compute_B( Edes=Edes, gammaslope=gammaslope,
                    dimE=dim(E) )$B
        B <- array( B, dim(E)[1:3] )
    }
    return(B)
}

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.