Package: colorednoise 1.1.2
colorednoise: Simulate Temporally Autocorrelated Populations
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.
Authors:
colorednoise_1.1.2.tar.gz
colorednoise_1.1.2.tar.gz(r-4.5-noble)colorednoise_1.1.2.tar.gz(r-4.4-noble)
colorednoise_1.1.2.tgz(r-4.4-emscripten)colorednoise_1.1.2.tgz(r-4.3-emscripten)
colorednoise.pdf |colorednoise.html✨
colorednoise/json (API)
NEWS
# Install 'colorednoise' in R: |
install.packages('colorednoise', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/japilo/colorednoise/issues
Last updated 9 months agofrom:93c8eaa13c. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 25 2024 |
R-4.5-linux-x86_64 | OK | Nov 25 2024 |
Exports:autocorr_simautocorrelationcolored_multi_rnormcolored_noisecor2covmatrix_modelmulti_rnormstdev_transformunstructured_pop
Dependencies:clidata.tablegluelifecyclemagrittrpurrrRcppRcppArmadillorlangvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Simulate Temporally Autocorrelated Populations for Every Combination of Parameters | autocorr_sim |
Estimate the Temporal Autocorrelation of a Numeric Vector | autocorrelation |
Generate Multiple Cross-Correlated & Autocorrelated Variables | colored_multi_rnorm |
Generate Autocorrelated Noise | colored_noise |
Convert from Correlation Matrix to Covariance Matrix | cor2cov |
Temporally Autocorrelated Matrix Population Models | matrix_model |
Generate Correlated Normal Random Numbers | multi_rnorm |
Translate Standard Deviation from the Natural Scale to the Log or Logit Scale | stdev_transform |
Simulated Time Series of an Unstructured Temporally Autocorrelated Population | unstructured_pop |