| popdemo-package {popdemo} | R Documentation |
Provides tools for demographic modelling using projection matrices
Description
popdemo provides tools for modelling populations and demography using
matrix projection models (MPMs), with deterministic and stochastic model
implementations. These tools include population projection, indices of short-
and long-term population size and growth, perturbation analysis, convergence
to stability or stationarity, and diagnostic and manipulation tools. This includes:
- POPULATION PROJECTION
-
popdemoprovides a simple means of projecting and plotting PPM models.projectprovides a means to project and plot population dynamics of both deterministic and stochastic models. Many methods are available for working with population projections: seeProjection-classandProjection-plots - ASYMPTOTIC DYNAMICS
-
The
eigsfunction provides a simple means to calculate asymptotic population dynamics using matrix eigenvalues. - TRANSIENT DYNAMICS
-
There are functions for calculating transient dynamics at various points of the population projection.
reacmeasures immediate transient density of a population (within the first time step).maxamp,maxattare near-term indices that measure the largest and smallest transient dynamics a population may exhibit overall, respectively. codeinertia measures asymptotic population density relative to stable state, and has many perturbation methods in the package (see below). All transient indices can be calculated using specific population structures, as well as bounds on population size. - PERTURBATION ANALYSIS
-
Methods for linear perturbation (sensitivity and elasticity) analysis of asymptotic dynamics are available through the
sens,tfs_lambdaandtfsm_lambdafunctions. Elasticity analysis is also available using theelasfunction. Sensitivity analysis of transient dynamics is available using thetfs_inertiaandtfsm_inertiafunctions. Methods for nonlinear perturbation (transfer function) analysis of asymptotic dynamics is achieved usingtfa_lambdaandtfam_lambda, whilst transfer function analysis of transient dynamics is available withtfa_inertiaandtfam_inertia. These all have associated plotting methods linked to them: seeplot.tfaandplot.tfam). - MODEL CONVERGENCE
-
Information on the convergence of populations to stable state can be useful, and
popdemoprovides several means of analysing convergence.drmeasures the damping ratio, and there are several distance measures available (seeKeyfitzD,projectionDandCohenD). There is also a means of calculating convergence time through simulation:convt. - DIAGNOSTIC TOOLS
-
isPrimitive,isIrreducibleandisErgodicfacilitate diagnosis of matrix properties pertaining to ergodicity. - UTILITIES
-
Matlab2Rallows coding of matrices in a Matlab style, which also facilitates import of multiple matrices simultaneously if comma-seperated files are used to import dataframes. Its analogue,R2Matlab, converts R matrices to Matlab-style strings, for easier export.
Author(s)
Maintainer: Iain Stott iainmstott@gmail.com
Authors:
Dave Hodgson D.J.Hodgson@exeter.ac.uk
Stuart Townley S.B.Townley@exeter.ac.uk
Other contributors:
Stephen Ellner spe2@cornell.edu [contributor]