Learn R Programming

NetworkExtinction (version 0.1.1)

ExtinctionOrder: Extinctions analysis from custom order

Description

It takes a network, and extinguishes nodes using a custom order, then it calculates the secondary extinctions and plots the accumulated secondary extinctions.

Usage

ExtinctionOrder(Network, Order)

Value

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

Arguments

Network

a network of class network

Order

Vector with the order of extinctions by ID

Author

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

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

Examples

Run this code
#first example
data("net")
ExtinctionOrder(Network = net, Order = c(1,2,3,4,5,6,7,8,9,10))
#Second example
data("net")
ExtinctionOrder(Network = net, Order = c(2,8,9))

Run the code above in your browser using DataLab