perm_nodeLabels: Node label permutations.

View source: R/RcppExports.R

perm_nodeLabelsR Documentation

Node label permutations.

Description

Post-network permutations of the type 'node labels'.

Usage

perm_nodeLabels(df, label, nperm, progress)

Arguments

df

a data frame.

label

a numeric vector indicating the number of individuals.

nperm

an integer indicating the number of permutations to perform.

progress

a boolean indicating if you wich to see the progression of the permutations.

Details

Node label permutations is a post-network permutations approach that swap the labels of the nodes (e.g. degree). It is use on direct interactions behaviours.

Value

A list of data frames, each ones holding a different permutation.

Author(s)

Sebastian Sosa,Ivan Puga-Gonzales.

References

Farine, D. R. (2017). A guide to null models for animal social network analysis. Methods in Ecology and Evolution.

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


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