Description Usage Arguments Value
Weighted variance
1 | weightedVariance(x, w, na.rm = FALSE)
|
x |
an object containing the values whose weighted variance is to be computed |
w |
a numerical vector of weights the same length as x giving the weights to use for elements of x |
na.rm |
a logical value indicating whether NA values in x should be stripped before the computation proceeds |
a length-one numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.