Absolute value of sample correlation between two vectors
corFunction.Rd
Calculates the absolute value of correlation of t and y. If either input has only one unique value, returns 0 by definition.
Arguments
- t
A numeric or integer vector.
- y
A numeric or integer vector; must have the same length as t.