splitA {popbio}R Documentation

Split a projection matrix into separate T and F matrices

Description

Splits a projection matrix into transition and fertility matrices where A = T + F.

Usage

splitA(A, r = 1, c = -1)

Arguments

A a projection matrix
r rows containing fertilities, default is first row
c columns containing fertilities, default is all columns except first

Details

see section 5.1 in Caswell (2001)

Value

A list with T and F matrices

Note

By default, the fertility matrix will include elements in the first row (except first element). In a prebreeding census, it may be possible to have matrix elements that include both fertility and transition rates and therefore this function will not work.

Author(s)

Chris Stubben

References

Caswell, H. 2001. Matrix population models: construction, analysis, and interpretation, Second edition. Sinauer, Sunderland, Massachusetts, USA.

See Also

functions like generation.time and net.reproductive.rate use splitA internally to split the matrix

Examples

data(whale)
splitA(whale)
# teasel -fertilitiles in last column
data(teasel)
splitA(teasel, r=1:6, c=6)
# hudsonia - fertilities in first two columns
data(hudsonia)
splitA(hudsonia[[1]], r=1:2)
# survival curves
x<-sapply(hudsonia, function(x) colSums(splitA(x, r=1:2)$T))
matplot2(t(x), legend="bottomright", ylab="Survival", 
main="Hudsonia survival curves")


[Package popbio version 2.0 Index]