lin.cor {philentropy}R Documentation

Linear Correlation

Description

This function computed the linear correlation between two vectors or a correlation matrix for an input matrix.

The following methods to compute linear correlations are implemented in this function:

Usage

lin.cor(x, y = NULL, method = "pearson", test.na = FALSE)

Arguments

x

a numeric vector, matrix, or data.frame.

y

a numeric vector that should be correlated with x.

method

the method to compute the linear correlation between x and y.

test.na

a boolean value indicating whether input data should be checked for NA values.

Details

Further Details:

Author(s)

Hajk-Georg Drost


[Package philentropy version 0.8.0 Index]