PSPManalysis

An R/Matlab/C package for numerical analysis of physiologically structured population models

The software package PSPManalysis implements numerical procedures for the demographic, bifurcation and evolutionary analysis of physiologically structured population models (PSPMs), which is a class of models that consistently translates continuous-time models of individual life history to the population level. The software package consists of a computational back-end that is implemented in C. For reasons of computational efficiency the user-defined model of individual life history has to be implemented in C as well on the basis of a template provided in the package. After implementing the functions that determine the life history, such as development and mortality rates and fecundity, however, the package can be used for computations in either R or Matlab/Octave, for which interpreted language front-ends are included.

The software allows for four different types of analyses of PSPMs:

The basic methodology to numerically compute the equilibrium of a PSPM has been presented in Kirkilionis et al. (2001) and Diekmann et al. (2003), while De Roos (2008) presented the modification of the latter approach to compute the demographic characteristics of a linear PSPM.

A manual is included with the package in two different versions: one version for the using of this package with the Matlab-fronted, the other for using this software with its R interface.

For more information you can also check out the slides of the presentation I gave about this software package during a workshop at the BES Symposium Demography Beyond the Population in 2015. A ZIP file including the material used during the workshop, such as hand-outs, is also available for download.

Acknowledgments

ERC logo

ERC logo

The development of this software has been made possible by financial support from the European Research Council under the European Union’s Seventh Framework Programme (FP/2007-2013) / ERC Grant Agreement No. 322814

References

M.A. Kirkilionis, O. Diekmann, B. Lisser, M.Nool, A.M. de Roos & B.P. Sommeijer, 2001. Numerical continuation of equilibria of physiologically structured population models. I. Theory. Math. Models Meth. Appl. Sci. 11(6): 1101-1127.

O. Diekmann, M. Gyllenberg & J. A. J. Metz, 2003. Steady-State Analysis of Structured Population Models. Theoretical Population Biology 63 (4): 309-338.

A.M. de Roos, 2008. Demographic analysis of continuous-time life-history models. Ecol. Lett. 11(1): 1-15.


WHAT’S NEW?

Oct 4, 2016

  • The package now includes an additional program PSPMind that allows computation of the individual life history at a specific set of environmental conditions

  • The package now uses OpenMP (only available on Mac OS X and Linux) to speed up computations in case individuals can be born with one of a set of states at birth

  • A number of command-line options have been added to the PSPMequi program to allow more tailoring of the execution by the user

March 16, 2016

  • The manual is now available in two version, one for using the package under R, the other for using it with Matlab.

  • It has been tested now on Mac OS (Macbook Pro running Yosemite) as well as Debian Linux, in all its 3 versions: using the command-line interface, the R interface as well as the Matlab interface.

  • The numerical procedures have been optimized for speed and accuracy.

Augustus 20, 2015

  • The program package now has a complete front end for Matlab, R (R studio) and the Mac OS Terminal command-line. The manual does not document the R interface yet. Look in the file PSPManalysis.R for the syntax of the various commands, or look at the (many) example scripts in de ‘Test’ directory.

  • The package now includes a program PSPMevodyn (can be used from Matlab, R or the Mac OS Terminal command-line) that simulates the evolutionary dynamics of an PSPM in an arbitrary number of parameters using the canonical equation as presented by Dieckmann & Law (1996, Journal of Mathematical Biology 34: 579-612). The derivative of the parameters with respect to evolutionary time are the product of the population birth rate (as a measure of total population size) and the selection gradient dR0/dp