cov.pop: Population Covariance

Description Usage Arguments Details Value Examples

Description

Returns the population covariance of two variables, ml.data.frame fields.

Usage

1
cov.pop(x, y)

Arguments

x

a ml.data.frame field.

y

a ml.data.frame field

Details

The function eliminates all pairs for which either the first element or the second element is empty. After the elimination, if the length of the input is 0, the function returns the empty sequence.

Value

The population covariance

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
 library(rfml)
 locConn <- ml.connect()
 # create a ml.data.frame based on a search
 mlIris <- ml.data.frame(locConn, collection = "iris")
 # return the population covariance
 cov.pop(mlIris$Sepal.Length, mlIris$Petal.Length)

## End(Not run)


Search within the rfml package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.