Description Usage Arguments Value Author(s) Examples
Compute efficiently (via Fortran code) the means, covariance and scattering matrices conditioning on a weighted or indicator matrix
1 |
X |
A (n x p) data matrix, with n observations on p variables. |
Z |
A (n x G) matrix of weights, with G number of groups. |
normalize |
A logical indicating if rows of |
A list with the following components:
mean |
A (p x G) matrix of weighted means. |
S |
A (p x p x G) array of weighted covariance matrices. |
W |
A (p x p x G) array of weighted scattering matrices. |
M. Fop and L. Scrucca
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.