forked from derek-corcoran-barrios/NetworkExtinction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCompareExtinctions.Rd
36 lines (34 loc) · 1.13 KB
/
CompareExtinctions.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Extintions.R
\name{CompareExtinctions}
\alias{CompareExtinctions}
\title{Comparison of Null hypothesis with other extinction histories}
\usage{
CompareExtinctions(Nullmodel, Hypothesis)
}
\arguments{
\item{Nullmodel}{an object generated by the RandomExtinctions}
\item{Hypothesis}{Extinction history generated by the Mostconnected or ExtinctionOrder
fuction}
}
\value{
a plot comparing the expected value of secondary extinctions originated at random
with the observed extinction history.
}
\description{
It compares an object generated either by the Mostconnected or ExtinctionOrder functions
with a null hypothesis generated by the RandomExtinctions function it is important that
RandomExtinctions is in plot = T.
}
\examples{
\dontrun{
data("Less_Connected")
History <- SimulateExtinctions(Network = Less_Connected, Method = "Mostconnected")
NullHyp <- RandomExtinctions(Network = Less_Connected, nsim = 100)
CompareExtinctions(Nullmodel = NullHyp, Hypothesis = History)
}
}
\author{
Derek Corcoran <[email protected]>
M. Isidora Ávila-Thieme <[email protected]>
}