Spatial Ecological Network Inference

A model-agnostic framework for reconstructing and analysing spatially explicit ecological networks from species distributions and ecological inference models. Supports arbitrary ecological groups and includes stochastic block and maximum-entropy inference backends, simulation helpers, network summaries, and spatial mapping utilities.


metaweave

Spatial ecological network inference from species distributions and supplied interaction models. Supports species-pair probabilities, stochastic block models, and directed constrained network ensembles.

Installation

Install the release from CRAN when available:

install.packages("metaweave")

A minimal example

library(metaweave)
p <- matrix(c(0.8, 0.2, 0.3, 0.7), 2, byrow = TRUE,
            dimnames = list(c("plant_a", "plant_b"), c("animal_x", "animal_y")))
model <- probability_matrix_model(p, "plants", "animals")
site <- new_assemblage(list(plants = c("plant_a", "plant_b"), animals = "animal_x"))
network <- infer_network(site, model)
summarize_network(network)

For a complete runnable spatial example, use vignette("getting-started", package = "metaweave"). The tutorial uses synthetic data; publication case studies are distributed separately. Use citation("metaweave") for the software citation.

Author, maintainer and copyright holder: Gabriel Munoz, Concordia University. Contact: [email protected]. License: MIT.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("metaweave")

0.4.1 by Gabriel Munoz, a day ago


https://github.com/fgabriel1891/metaweave


Report a bug at https://github.com/fgabriel1891/metaweave/issues


Browse source code at https://github.com/cran/metaweave


Authors: Gabriel Munoz [aut, cre, cph] (Affiliation: Concordia University)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods, stats, terra

Suggests knitr, rmarkdown, sf, testthat


See at CRAN