Learn R Programming

spatialwarnings (version 3.1.0)

dda: Density-dependent aggregation model

Description

dda is a list of matrices representing results from the density-dependent aggregation model (Siteur et al. 2023) in dda. dda.pars is a data frame with the model parameters. Each row of dda.pars corresponds to a matrix in dda, in the same order. All parameters were maintained constant, except for tau (see model definition in Siteur et al. 2023).

Usage

dda

dda.pars

Arguments

Format

An object of class list of length 4.

An object of class data.frame with 4 rows and 5 columns.

References

Siteur, Koen, Quan-Xing Liu, Vivi Rottschäfer, Tjisse van der Heide, Max Rietkerk, Arjen Doelman, Christoffer Boström, and Johan van de Koppel. 2023. "Phase-Separation Physics Underlies New Theory for the Resilience of Patchy Ecosystems." Proceedings of the National Academy of Sciences 120 (2): e2202683120. https://doi.org/10.1073/pnas.2202683120.

Examples

Run this code

ddasews <- lsw_sews(dda)
plot(ddasews, along = dda.pars[ ,"tau"]) # tau is the changing parameter

display_matrix(dda[[4]]) 

Run the code above in your browser using DataLab