Computes a weighted average of the elements in a vector
1 | weighted_average(v, weights = NULL)
|
v |
numeric vector |
weights |
optional numeric vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.