Description Usage Arguments Details Value References See Also Examples
Determine whether a matrix is ergodic or nonergodic
1 |
A |
a square, non-negative numeric matrix of any dimension. |
digits |
the number of digits that the dominant left eigenvector should be rounded to. |
return.eigvec |
(optional) logical argument determining whether or not the dominant left eigenvector should be returned. |
isErgodic
works on the premise that a matrix is ergodic if
and only if the dominant left eigenvector (the reproductive value vector) of
the matrix is positive (Stott et al. 2010).
In rare cases, R may calculate that the dominant left eigenvector of a
nonergodic matrix contains very small entries that are approximate to (but
not equal to) zero. Rounding the dominant eigenvector using digits
prevents mistakes.
If return.eigvec=FALSE
, either TRUE
(for an ergodic matrix) or
FALSE
(for a nonergodic matrix).
If return.eigvec=TRUE
, a list containing elements:
ergodic
TRUE
or FALSE
, as above
eigvec
the dominant left eigenvector of A
Stott et al. (2010) Methods Ecol. Evol., 1, 242-252.
Other PerronFrobeniusDiagnostics:
isIrreducible()
,
isPrimitive()
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.