corDS {dsStats}R Documentation

Computes correlation between two or more vectors

Description

this function is similar to R function 'cor'

Usage

corDS(x = NULL, y = NULL, use = NULL)

Arguments

x

a character, the name of a vector, dataframe or matrix

y

(optional) a character, the name of a vector, dataframe or matrix

use

a character string giving a method for computing covariances in the presence of missing values. This must be one of the strings: "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs".

Value

correlation

Author(s)

Gaye, A.


[Package dsStats version 4.0.0 ]