knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(enaR)

Model

enaR is a software suite to apply Ecological Network Analyses to models that trace the flow of energy or matter through ecosystems. The software does not currently include functions to help investigators construct a model; it assumes that you have a model in hand to analyze. Investigators might build a model using a phenomenological approach or using systems dynamics modeling. It is also possible to use software tools to aid in this model construction like EcoPath with EcoSim (EwE) or limSolve for Linear Inverse Modeling. Regardless of the model construction technique, the full set of information required for ENA includes the following:

In summary, a fully specified model for enaR includes {F, z, r, e, y = r + e, X, Living, Names}. To be clear, however, not all analyses require all of this information.

Entering Data

The pack() function can be used to create the enaR required data object. This assumes the you have the necessary model data and that you can enter it or get it directly into R.

Reading Other Data Formats

Many investigators have their ecological network models in one of several formats. The enaR package provides several functions that read in the data from these formats that then construct the enaR network data object. Existing read functions include:

As the most commonly used model construction software for food webs is EcoPath (EwE), it would be ideal to have a function to read in data from this format. This is technically more challenging, but a goal for the future.



SEELab/enaR documentation built on Feb. 24, 2025, 7:43 a.m.