C++ implementation of multivariate skew normal likelihood function for multiple inputs
Source:R/RcppExports.R
mvsnlikC.RdC++ implementation of multivariate skew normal likelihood function for multiple inputs
Arguments
- x
data matrix of dimension p x n, p being the dimension of the data and n the number of data points
- c
integer vector of cluster allocations with values from 1 to K
- clustval
vector of unique values from c in the order corresponding to the storage of cluster parameters in
xi,psi, andsigma- xi
mean vectors matrix of dimension p x K, K being the number of clusters
- psi
skew parameter vectors matrix of dimension
p x K- sigma
list of length
Kof variance-covariance matrices, each of dimensionsp x p.- loglik
logical flag or returning the log-likelihood instead of the likelihood. Default is
TRUE.