It compares an object genrated either by the Mostconected or ExtinctionOrder functions with a null hypothesis generated by the RandomExtinctions function and it tests weather they are significantly different.
CompareExtinctions(Nullmodel, Hypothesis)
a plot comparing the expected value of secondary extinctions originated at random with the observed extinction history. Also, and a goodness of fit test showing if there are significant differences between expected value of secondary extinctions and the observed secondary extinction history.
an object generated by the RandomExtinctions
Extinction history generated by the Mostconected or ExtinctionOrder fuction
Derek Corcoran <derek.corcoran.barrios@gmail.com>
M.Isidora Avila Thieme <msavila@uc.cl>
data("net")
History <- Mostconnected(Network = net)
NullHyp <- RandomExtinctions(Network = net, nsim = 100)
CompareExtinctions(Nullmodel = NullHyp, Hypothesis = History)
Run the code above in your browser using DataLab