Description Usage Arguments Details Author(s) See Also
It is assumed that the mixing covariances are rank-1 (with their square roots in
v_mat
) and the observation covariances are diagonal (with their variances in s_mat).
1 | rmixmultnorm(s_mat, v_mat, pi_vec)
|
s_mat |
A matrix of variances (NOT standard deviations). The rows index the observations and the columns index the variables. |
v_mat |
A matrix of square-roots of the rank-1 mixing covariance matrices. The columns index the mixing components, the rows index the variables. |
pi_vec |
A vector of mixture proportions. |
The number of observations drawn is equal to nrow(s_mat)
.
David Gerard
dmixlike
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.