second.extinct(web, participant = "higher", method = "abun", nrep = 10,
details = FALSE)
high
(default) or low
or both
,
depending if you want to exterminate higher trophic level species, lower trophic
level species, or a randomly chosen species of both levels; partial matching.FALSE
(default), replicated runs will be averaged.extinction
,
followed by a call to empty
, which counts the number of all-zero columns
and rows.
Although written for pollination webs (hence the nomenclature of pollinator and plant),
it can be similarly applied to other types of bipartite networks. It is called by
networklevel
.
will not work with , since
sequences cannot be averaged, due to different lengths.networklevel
calls second.extinct
; extinction
and empty
are internal helper functions, and slope.bipartite
calculates extinction slopes from the output of second.extinct
.data(Safariland)
(ex <- second.extinct(Safariland, participant="low", method="r", nrep=50, details=TRUE))
(ex <- second.extinct(Safariland, participant="low", method="r", nrep=50, details=FALSE))
Run the code above in your browser using DataLab