Learn R Programming

NetworkExtinction (version 0.1.1)

RandomExtinctions: Random extinction

Description

Generates a null model by generating random extinction histories and calculating the mean and standard deviation of the accumulated secondary extinctions developed by making n random extinction histories

Usage

RandomExtinctions(Network, nsim = 10)

Value

exports data frame with the characteristics of the network after every extintion, and a graph with the mean and 95

Arguments

Network

a trophic network of class network

nsim

number of simulations

Author

Derek Corcoran <derek.corcoran.barrios@gmail.com>

M.Isidora Avila Thieme <msavila@uc.cl>

Examples

Run this code
#first example
data("More_Connected")
RandomExtinctions(Network = More_Connected, nsim = 20)

Run the code above in your browser using DataLab