CRAN population 0.3 R Package Manual: Models for Simulating Populations

CRAN R package manual for population 0.3, which runs and plots stochastic, age-structured population projections with an Individual-Based Model.


CRAN population 0.3 R Package Manual: Models for Simulating Populations - cover page
Brand
CRAN
Category
Other software
Document type
Other
Language
English
Pages
9
File format
PDF
File size
82 KB
Published
30 November, 2026
Updated
30 November, 2026
MD5 checksum
06D73697BEB2CB035431840B3780EAB6

About this manual

This document is the manual for the CRAN R package population, version 0.3. It describes functions for running and plotting population projections using an Individual-Based Model (IBM) compiled in C, based on a discrete, age-structured post-breeding Leslie matrix model.

The package provides project() for stochastic projections, plot_projection() for displaying results, get_cores() and project_parallel() for parallel simulations on non-Windows systems, and includes demographic and environmental stochasticity. Version 0.2 fixed a bug that produced wrong results at very large population sizes.

What's inside

  • population-package
  • get_cores
  • plot_projection
  • project
  • project_parallel

Specifications

Package typePackage
Version0.3
LicenseGPL-3
Dependsparallel, abind
NeedsCompilationyes
Model typeIndividual-Based Model (IBM) compiled in C
Model structurediscrete, age-structured, post-breeding Leslie matrix
Parallelizationavailable except on Windows
Bug fixversion 0.2 fixed wrong results at very large population sizes

Frequently asked questions

What does the population package do?

It runs population simulations using an Individual-Based Model (IBM) compiled in C. The model is discrete and age-structured, following a post-breeding Leslie matrix model.

Which functions does the package provide?

It provides project() for stochastic projections, plot_projection() for plotting, get_cores() for the number of available cores, and project_parallel() for parallel projections.

Is parallel simulation supported on Windows?

No. Parallelization is available except on Windows, and get_cores() is described as non-Windows systems only.

What does project() return?

It runs a 3-dimensional array of numbers of individuals with dimension c(years, classes, runs).

Download PDF (82 KB)