cov-CASTable-method: Covariance

cov,CASTable-methodR Documentation

Covariance

Description

Unlike the cov function for data frames, this function does not support specifying the method as "kendall" or "spearman." The results for method "pearson" are returned.

Usage

## S4 method for signature 'CASTable'
cov(x, y = NULL, use = "everything", method = c("pearson"))

Arguments

x

CASTable.

Value

matrix

Examples

## Not run: 
cov(ct1)
cov(i2[1:4])
cov(i2[c('col1', 'col2', 'col3')])
cov(i2$col1, i2$col2)

## End(Not run)

sassoftware/R-swat documentation built on Feb. 26, 2024, 8 a.m.