elas | R Documentation |
Calculate the elasticity matrix for a specified population matrix projection model using eigenvectors.
elas(A, eval = "max")
A |
a square, non-negative numeric matrix of any dimension |
eval |
the eigenvalue to evaluate. Default is |
elas
uses the eigenvectors of A
to calculate the elasticity
matrix of the specified eigenvalue, see section 9.1 in Caswell (2001).
Same method as elasticity
in popbio
but can also evaluate
subdominant eigenvalues.
A numeric (real or complex) matrix of equal dimension to A
.
Caswell (2001) Matrix Population Models 2nd ed. Sinauer.
Other PerturbationAnalyses:
sens()
,
tfa_inertia()
,
tfa_lambda()
,
tfam_inertia()
,
tfam_lambda()
,
tfs_inertia()
,
tfs_lambda()
# Create a 3x3 PPM
( A <- matrix(c(0,1,2,0.5,0.1,0,0,0.6,0.6), byrow=TRUE, ncol=3) )
# Calculate sensitivities of dominant eigenvalue
elas(A)
# Calculate sensitivities of first subdominant eigenvalue,
# only for observed transitions
elas(A, eval=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.