stat.tauKr {ANTs}R Documentation

Matrix TauKr correlations

Description

Matrix TauKr correlation. Partial or not, with significant test or not.

Usage

stat.tauKr(X, Y, Z = NULL, nperm = NULL, omitDiag)

Arguments

X

a square matrix of individual interactions or associations

Y

a square matrix of individual interactions or associations

Z

a square matrix of individual interactions or attributes to use as a control in the matrix correlation between X and Y (only for partial correlation)

nperm

an integer indicating the number of permutations wanted.

omitDiag

boolean to omit or not the diagonals in the matrices if TRUE it does not consider diagonals

Details

returns a list of matrices in the same order as is the original folder.

Value

a list of matrices .

Author(s)

Ivan Puga-Gonzalez, Sebastian Sosa.

References

Hemelrijk, C. K. 1990. Models of, and tests for, reciprocity, unidirectional and other social interaction patterns at a group level. Animal Behavior, 39, 1013-1029

Hemelrijk, C. K. 1990. A matrix partial correlation test used in investigations of reciprocity and other social interaction patterns at a group level. Journal of theoretical Biology, 143, 405-420.


[Package ANTs version 0.0.16 Index]