R/tam_theta_sq1.R

Defines functions tam_theta_sq1

## File Name: tam_theta_sq1.R
## File Version: 0.07


tam_theta_sq1 <- function(theta)
{
    theta2 <- array(,dim=c(nrow(theta), ncol(theta), ncol(theta) ) )
    for( qq in 1:nrow(theta) ){
        theta2[qq,,] <- tcrossprod( theta[qq,] )
    }
    return(theta2=theta2)
}

theta.sq <- tam_theta_sq1

Try the TAM package in your browser

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

TAM documentation built on Aug. 29, 2022, 1:05 a.m.