Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

NetworkExtinction (version 0.1.1)

CompareExtinctions: Comparison of Null hypothesis with other extinction histories

Description

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.

Usage

CompareExtinctions(Nullmodel, Hypothesis)

Value

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.

Arguments

Nullmodel

an object generated by the RandomExtinctions

Hypothesis

Extinction history generated by the Mostconected or ExtinctionOrder fuction

Author

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

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

Examples

Run this code
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