Description Usage Arguments Value
Calculate weighted variance of x using weights w.
1 | weighted_var(x, w = NULL, na.rm = FALSE)
|
x |
A numeric vector. |
w |
A numeric vector to weight x by. |
na.rm |
Logical indicating whether to ignore NAs. |
The weighted variance of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.