Description Usage Arguments Value
Computes a weighted standard deviation
1 | weighted_sd(x, w = NULL, na.rm = FALSE)
|
x |
An object containing the values whose weighted mean is to be computed. |
w |
An integer vector of weights the same length as x giving the weights to use for elements of x (weights are > 1, not decimals). |
na.rm |
(logical) 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.