Description Usage Arguments Value Examples
Calculate a weighted covariance matrix in the same way as
cov.wt
, but allow two sets of columns as in
var
.
1 2 |
x |
Data frame or a matrix |
y |
Data frame or a matrix with the same number of rows as |
w |
A vector of weights. |
method |
The type of estimate returned, |
xcenter, ycenter |
Optional center values for |
A weighted covariance matrix.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.