ExtinctionPlot | R Documentation |
It takes a NetworkTopology class object and plots the network index after every extinction
ExtinctionPlot(History, Variable = "AccSecExt")
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 |
A plot of number of extinctions in the x axis vs the choosen variable in the Y axis
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.