perm.edgl: Edge list link permutations on an edgelist

View source: R/perm.edgl.R

perm.edglR Documentation

Edge list link permutations on an edgelist

Description

Permutes the links of an edge list represented by a data frame.

Usage

perm.edgl(edgelist, perm)

Arguments

edgelist

an edgelist

perm

number of permutations to perform.

Details

edge list links permutations can be used to create random networks based on the observed network. Such permutation method is useful when analysing patterns of interactions such as assortativity.

Value

a list of edge lists with permuted links. The first element of the list is the original edge list.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.