Description Usage Arguments Value Examples
just weighted mean and sd.
1 | weighted_mean(x, w)
|
x |
vector to compute the mean over. |
w |
a vector of same length with the weigths of each element. |
a value with the weighted mean or sd.
1 2 | weighted_mean(c(2,3,4), c(1,1,2))
weighted_sd(c(2,3,4), c(2,1,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.