perturbR: Perturb networks and evaluate subgroup structures.

Description Usage Arguments Examples

Description

Randomly rewires networks in increasing degrees of perturbation to evaluate stability of community solutions obtained from Walktrap.

Usage

1
2
perturbR(sym.matrix, plot = TRUE, resolution = 0.01, reps = 100,
  errbars = FALSE)

Arguments

sym.matrix

A symmetric, sparse count matrix object

plot

Logical, defaults to TRUE

resolution

The percentage of edges to iteratively alter. One percent is default, increase to go quicker.

reps

The number of repititions to do for each level of perturbation. Decrease to make it go quicker.

errbars

Logical, defaults to FALSE. Option to add error bars of one standard deviation above and below the mean for each point.

Examples

1
perturbR(exampledata, plot=FALSE, resolution=0.10, reps=1, errbars = FALSE)

perturbR documentation built on May 2, 2019, 3:25 p.m.