perm_vec_factor: Permute factor vector.

View source: R/RcppExports.R

perm_vec_factorR Documentation

Permute factor vector.

Description

Permutes elements of a vector.

Usage

perm_vec_factor(vec)

Arguments

x

a numeric vector.

progress

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

Details

Permuting a vector can serve to realize node label permutation.

Value

A list of vectors, 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/ant documentation built on Sept. 23, 2023, 7:06 a.m.