perm.nodeLabel: Node label permutations

View source: R/perm.nodeLabel.R

perm.nodeLabelR Documentation

Node label permutations

Description

Performs node label permutations

Node label permutation is one of the methods used to build null models.

Usage

perm.nodeLabel(df, labels, nperm, progress = TRUE)

Arguments

df

a dataframe or a list of data frames.

labels

column names or numbers in which to permute the data

nperm

Number of permutations.

progress

a boolean indicating if the permutation process has to be visible.

Value

A list of data frames with the specified column permuted.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

References

Whitehead, H. A. L. (1997). Analysing animal social structure. Animal behaviour, 53(5), 1053-1067.

Sosa, S. (2018). Social Network Analysis, in: Encyclopedia of Animal Cognition and Behavior. Springer.


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