Description Usage Arguments Details Value Examples
computes the density of an individual's continuous measurement vector for all latent classes, eventually taking covariates into account. This is an internal function not meant to be called by the user.
1 |
y.x |
a vector |
param |
a list of the multinormal density parameters: means |
var.list |
a list of integers indicating which covariates (taken from |
For each class k
, the function computes the multinormal density with means param$mu[[k]]
and variances-covariances matrix
param$sigma[[k]]
for the individual's measurement
vector. Treatment of covariates is not yet implemented, and any
provided covariate value will be ignored.
The function returns a vector dens
of length K
, where
dens[k]
is the density of the measurements if the individual belongs to class k
.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.