Learn R Programming

NetworkExtinction (version 0.1.1)

ExtinctionPlot: Plots the extinctions history of a network

Description

It takes a NetworkTopology class object and plots the network index after every extinction

Usage

ExtinctionPlot(History, Variable = "AccSecondaryExtinction")

Value

A plot of number of extinctions in the x axis vs the choosen variable in the Y axis

Arguments

History

a NetworkTopology object obtained from the Mostconnected function or the ExtinctionOrder function

Variable

the variable of the NetworkTopology object that you want as a y variable

Author

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

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

See Also

[NetworkExtintion::ExtinctionOrder()]

Examples

Run this code
# If you don't specify the y variable it will plot the secondary extinctions
# by default
data("net")
history <- Mostconnected(Network = net)
ExtinctionPlot(History = history)
# You can also specify the variable to be ploted in the y axis
ExtinctionPlot(History = history, Variable = "LinksPerSpecies")

Run the code above in your browser using DataLab