as.tmatrix: Population Transition Matrix

Description Usage Arguments Details Value Author(s) References Examples

View source: R/as.tmatrix.R

Description

Convert a matrix to transition matrix (class tmatrix) and display some of its properties.

Usage

1
2
3
4
5
6
7
8
9
as.tmatrix(x, names.st = NULL, ...)
## S3 method for class 'tmatrix'
plot(x, ...)
## S3 method for class 'tmatrix'
print(x, ...)
## S3 method for class 'tmatrix'
summary(object, ...)
## S3 method for class 'summary.tmatrix'
print(x, ...)

Arguments

x

For as.tmatrix, x is a square matrix,; for the plot, print and summary methods,x is a matrix of class tmatrix.

object

An object of class tmatrix, i.e, resulting from as.tmatrix.

names.st

A vector of names to rename the rows and columns of the transition matrix.

...

Other parameters passed to print and plot methods.

Details

The purpose of as.tmatrix is to class a transition matrix as an object of class tmatrix, allowing the use of specific methods for transition matrices.

Value

as.tmatrix returns a matrix of class tmatrix.

summary.tmatrix prints the main parameters of the transition matrix: the finite rate of increase ("lambda"), the stable stage distribution, the reproductive value and the sensitivities and elasticities matrices.

plot.tmatrix draw barplots of the stable stage distribution and the reproductive value and plot also a diagram of the life stage cycle.

Author(s)

Marcelino de la Cruz Rot

References

Akcakaya, H. R., Burgman, M. A. and Ginzburg L.R. 1999. Applied Population Ecology. Sinauer.

Caswell, H. 2003. Matrix Population Models: Construction, Analysis, and Interpretation . Sinauer.

Examples

1
2
3
4
5
6

Rramas documentation built on May 2, 2019, 6:52 a.m.

Related to as.tmatrix in Rramas...