enaR: Tools for Ecological Network Analysis
enaR provides a set of high-level functions for conducting ecological network analysis (ENA). These functions allow users to access the many tools developed over decades of work by ecologists looking for ways to measure aspects of the struture and functioning of complex ecological systems, such as food-webs or biogeochemical cycles.
In addition to collecting the many ENA algorithms together into a single, open-source toolbox, enaR also facilitates the import, construction and simulation of ecological network models. There are multiple functions for reading in data from many of the various model formats that have arisen over the years.
To Install and Load
You can also get the current development version directly from Github:
install.packages("devtools") devtools::install_github("ProvTools/ProvR") library(enaR)
Load a model from our set of models included with the package and generate the full set of ENA metrics and indictors:
data(enaModels) model <- enaModels[] model.ena <- enaAll(model)
You can now explore the many metrics produced for the model, such as structural aspects of the model: