Learn R Programming

bipartite (version 0.7)

extinction: Simulates extinction of a species from a bipartite network.

Description

Following (how I remember) the paper of Memmott et al. (2004), this function deletes a column (e.g.~pollinator) or row (e.g.~plant). Only a helper function for second.extinct, really.

Usage

extinction(web, participant = "both", method = "random")

Arguments

web
A matrix representing the interactions observed between higher trophic level species (columns) and lower trophic level species (rows). Usually this will be number of pollinators on each species of plants or number of parasitoids on each species of prey.
participant
Which level of participant to remove: removes a row, removes a row, randomly picks either row or column. Partial matching of strings implemented.
method
Determines sequence of extinctions: removes a random participant, while removes the least abundant species first. Partial matching of strings implemented.

Value

  • Returns the same matrix that was given as object, just with one row or column being turned into zeros.

Details

In itself rather useless. Called repeatedly by second.extinct to build an extinction sequence and accordingly a sequence of secondary extinctions.

References

Memmott, J., Waser, N. M. and Price, M. V. 2004 Tolerance of pollination networks to species extinctions. Proceedings of the Royal Society B 271, 2605--2611

See Also

second.extinct

Examples

Run this code
data(Safariland)
(w <- extinction(Safariland, participant="low", method="abun"))
empty(w, count=TRUE)

Run the code above in your browser using DataLab