Return log-likelihood function (cost function) value evaluated at a given parameter tensor, an observed tensor, and cut-off points
likelihood(ttnsr,theta,omega,type = c("ordinal","Gaussian"))
an observed tensor data
a continuous-valued tensor (latent parameters)
the cut-off points
types of log-likelihood function
"ordinal"
specifies log-likelihood function based on the cumulative logistic model
"Gaussian"
specifies log-likelihood function based on the Gaussian model
log-likelihood value at given inputs