It takes a NetworkTopology class object and plots the network index after every extinction
ExtinctionPlot(History, Variable = "AccSecExt")
A plot of number of extinctions in the x axis vs the choosen variable in the Y axis
a NetworkTopology object obtained from the Mostconnected function or the ExtinctionOrder function
the variable of the NetworkTopology object that you want as a y variable
Derek Corcoran <derek.corcoran.barrios@gmail.com>
M. Isidora Ávila-Thieme <msavila@uc.cl>
[NetworkExtintion::ExtinctionOrder()]
# If you don't specify the y variable it will plot the secondary extinctions
# by default
data("net")
history <- SimulateExtinctions(Network = net, Method = "Mostconnected")
ExtinctionPlot(History = history$sims)
# You can also specify the variable to be ploted in the y axis
ExtinctionPlot(History = history$sims, Variable = "Link_density")
Run the code above in your browser using DataLab