Simulate Temporally Autocorrelated Populations
Overview
Temporally autocorrelated populations are correlated in their vital rates (growth, death, etc.) from year to year. It is very common for populations, whether they be bacteria, plants, or humans, to be temporally autocorrelated. This poses a challenge for stochastic population modeling, because a temporally correlated population will behave differently from an uncorrelated one. This package provides tools for simulating populations with white noise (no temporal autocorrelation), red noise (positive temporal autocorrelation), and blue noise (negative temporal autocorrelation). The algebraic formulation for autocorrelated noise comes from Ruokolainen et al. (2009) doi:10.1016/j.tree.2009.04.009. Models for unstructured populations and for structured populations (matrix models) are available.
- Debugged some issues with sparse matrices in
matrix_model.
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘simulate_populations.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'simulate_populations.R'- NOTE13 NOTENow
- NOTE3 OK, 11 NOTE2026-04-22
- ERROR3 OK, 10 NOTE, 1 ERROR2026-04-18
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 10 (1 internal)includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Simulate noise HTML
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 27
Stars over time
Forks over time
Releases over time
PRs over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/japilo/colorednoise on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2024-04-11
Show all practicesHide 2 practices
Dependencies
Installing colorednoise adds 10 packages (9 with compiled code, 12 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Maintainer since 0.0.1 (2017)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.2Latest
- 1.1.12023-09-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.1.0
- RR 4.0.0 released · 2020-04-24
- 1.0.52019-09-27 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.42019-01-23 · diff ↗
- 1.0.32018-06-01 · diff ↗
- 1.0.12018-05-21 · diff ↗ ·
removed 5 exports
raw_estim, raw_estim_loop, raw_noise, raw_noise_loop, timeseriesadded 6 exports
colored_multi_rnorm, colored_noise, cor2cov, matrix_model, multi_rnorm, unstructured_pop - RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2017-10-10
- Total releases
- 9 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 164 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("colorednoise")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.