This function calculates the covariance of two vectors of numbers.
Usage
covariance_(x,y)
Arguments
x
Should be a vector
y
Should be a vector
Value
Numeric, the covariance of two vectors of numbers.
Details
To calculate the covariance, the user should give two vectors of numbers. The result is a measure of the joint variability of two vectors of numbers. The covariance formule is the following: