transM {asbio}R Documentation

Transition matrix analysis

Description

Creates a plot showing expected numbers of individuals in specified age classes or life stages given survivorship probabilities from a transition matrix (cf. Caswell 2000). The function anm.transM provides an animated view of the population growth curves. The function anm.TM.tck provides a tcltk GUI to run anm.TM.tck.

Usage

transM(A, init, inter = 100, stage.names = c("All grps",1:(ncol(A))), 
leg.room = 1.5, ...)

anm.transM(A,init,inter=100,stage.names =c("All grps",1:(ncol(A))),
leg.room = 1.5, anim.interval=0.1,...)

anm.TM.tck()

Arguments

A

Transition matrix containing survivorship probabilities and fecundities see Caswell (2000).

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.

anim.interval

Speed of animation in frames per second.

...

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.

Author(s)

Ken Aho

References

Caswell, H (2000) 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

#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("All","Sm. Juv.","Lg. Juv.","Adults"),
xlab="Years from present",ylab="n")
#animated version
## Not run: 
anm.transM(A,init,inter=100,stage.names=c("All","Sm. Juv.","Lg. Juv.","Adults"),
xlab="Years from present",ylab="n")

## End(Not run)

[Package asbio version 1.7 Index]