perm.net.links.single: Matrix edge permutations

View source: R/perm.net.links.single.R

perm.net.links.singleR Documentation

Matrix edge permutations

Description

Permute matrix links.

Usage

perm.net.links.single(
  M,
  sym = FALSE,
  erase.diag = TRUE,
  nperm,
  progress = TRUE
)

Arguments

M

a square adjacency matrix .

sym

if true will vectorize only the lower triangle.

erase.diag

if true will not keep the diagonal of the matrix.

nperm

number of permutations wanted.

progress

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

Details

Edge 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.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


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