perm_vec_int: Vector permutations.

View source: R/RcppExports.R

perm_vec_intR Documentation

Vector permutations.

Description

permutes elements of a vector.

Usage

perm_vec_int(x, nperm, progress)

Arguments

x

a numeric vector.

progress

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

perm

an integer indicating the number of permutations to perform.

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/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.