Description Usage Arguments Value Examples
This function takes a single numeric vector and returns the variance of the vectors values.
1 |
x |
Numeric vector of values |
Sample variance
1 2 3 4 5 | x <- 1:10
sample_variance(x)
y <- rnorm(100)
sample_variance(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.