stat.tauKr: Matrix TauKr correlations

View source: R/stat.tauKr.R

stat.tauKrR 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

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.


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.