Learn R Programming

memoria (version 1.1.0)

Quantifying Ecological Memory in Palaeoecological Datasets and Other Long Time-Series

Description

Quantifies ecological memory in long time-series using Random Forest models ('Benito', 'Gil-Romera', and 'Birks' 2019 ) fitted with 'ranger' (Wright and Ziegler 2017 ). Ecological memory is assessed by modeling a response variable as a function of lagged predictors, distinguishing endogenous memory (lagged response) from exogenous memory (lagged environmental drivers). Designed for palaeoecological datasets and simulated pollen curves from 'virtualPollen', but applicable to any long time-series with environmental drivers and a biotic response.

Copy Link

Version

Install

install.packages('memoria')

Monthly Downloads

187

Version

1.1.0

License

MIT + file LICENSE

Maintainer

Blas M. Benito

Last Published

February 10th, 2026

Functions in memoria (1.1.0)

alignTimeSeries

Align and join multiple time series to a common temporal resolution
computeMemory

Quantifies ecological memory with Random Forest.
lagTimeSeries

Create lagged versions of time series variables
extractMemoryFeatures

Extracts ecological memory features from the output of computeMemory.
experimentToTable

Turns the outcome of runExperiment into a long table.
palaeodata

Dataframe with pollen and climate data.
plotExperiment

Plots the output of runExperiment.
runExperiment

Computes ecological memory patterns on simulated pollen curves produced by the virtualPollen package.
plotMemory

Plots output of computeMemory
palaeodataMemory

Output of computeMemory
pollen

Dataframe with pollen counts.
climate

Dataframe with palaeoclimatic data.
palaeodataLagged

Lagged data generated by prepareLaggedData.