Learn R Programming

asbio (version 0.2-1)

transM: Transition matrix analysis

Description

Creates a plot showing expected numbers in organism specified age classes or life stages given survivorship probabilities from a transition matrix (cf. Caswell ).

Usage

transM(A, init, inter = 100, stage.names = seq(1, ncol(A)), leg.room = 1.5, ...)

Arguments

A
Transition matrix containing survivorship probabilities and fecundities see Caswell (2001).
init
A numeric vector containing initial numbers in each age class of interest.
inter
Number of time intervals for which population numbers are to be calculated.
stage.names
A character vector giving life stage names.
leg.room
A Y-axis multiplier intended to create room for a legend.
...
Additional arguments for plot

Value

  • Returns a plot and proportions of the population in each age class for the number of time intervals in inter.

References

Caswell, H. 2001. Matrix population models: Construction, analysis and interpretation, 2nd Edition. Sinauer Associates, Sunderland, Massachusetts. Gurevitch, J., Scheiner, S. M., and G. A. Fox. 2006. The ecology of Plants. Sinauer.

Examples

Run this code
#Endangered cactus data data from Gurevitch et al. (2006)
A<-matrix(nrow=3,ncol=3,data=c(.672,0,.561,0.018,0.849,0,0,0.138,0.969),
byrow=TRUE)
init<-c(10,2,1)
transM(A,init,inter=100,stage.names=c("Sm. Juv.","Lg. Juv.","Adults"),xlab="Years from present",ylab="n")

Run the code above in your browser using DataLab