variance | R Documentation |
Returns the biased variance (division by n, not by (n-1))
variance(M)
M |
a number, a vector or a matrix, with or without NA |
a float (variance )
variance(c(1, 2, 3))
variance (matrix(rbinom(2*2, 1, 0.5), nrow = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.