stat.tauKrPartialPermSig: Partial matrix TauKr correlations

View source: R/stat.tauKrPartialPermSig.R

stat.tauKrPartialPermSigR Documentation

Partial matrix TauKr correlations

Description

Partial Matrix TauKr correlation with significant test.

Usage

stat.tauKrPartialPermSig(X, Y, Z, nperm, omitDiag = TRUE)

Arguments

X

a square matrix of individual interactions or associations

Y

a square matrix of individual interactions or attributes

Z

a square matrix of individual interactions or attributes to use as a control in the matrix correlation between X and Y

nperm

number of permutations.

omitDiag

boolean to omit or not the diagonal from the matrices

Value

a list with the correlation coefficients 1) TauKrxy, 2) TauKrxz, 3) TauKryz, 4) TauKrxyz; p-values of the TauKrxyz coefficient value 5) on the right, 6) on the left

Author(s)

Ivan Puga-Gonzalez, Sebastian Sosa.

References

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.