Description Usage Arguments Value Examples
View source: R/vector_calculations.R
Calculate the covariance of two vectors.
1 | covariance(x, y, mode = "biased")
|
x |
A vector. |
mode |
Biased (default) or unbiased. |
Coariance of x
.
1 2 | covariance(c(1,2,3,4))
covariance(c(1,2,3,4,), "unbiased")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.