cov: CoVariance.

Description Usage Arguments Value Constraints Examples

Description

cov computes correlation of in-database Objects

Usage

1
cov(x, y = NULL, use = "everything", method = "pearson", ...)

Arguments

x

FLMatrix, FLVector or FLTable object or any R object

y

FLMatrix, FLVector or FLTable object or any R object

...

any additional arguments

Value

cov returns FLMatrix object representing correlation of x and y.

Constraints

The number of non-null pairs must be greater than or equal to 2. If number of non-null pairs is less than 2, FLCorrel returns a NULL.

Examples

1
2
3
4
5
connection <- flConnect(odbcSource="Gandalf")
deeptable <- FLTable("tblUSArrests", "ObsID","VarID","Num_Val")
widetable <- FLTable("tblAbaloneWide","ObsID")
cov(deeptable,deeptable)
cov(widetable,widetable)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.