Branch | Status |
---|---|
master | |
development |
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.
install.packages("enaR")
library(enaR)
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[[8]]
model.ena <- enaAll(model)
You can now explore the many metrics produced for the model, such as structural aspects of the model:
model.ena$structure
View(model.ena$structure)
For a more in-depth introduction to ENA and how to use the enaR package, you can view our short tutorial or our more extensive wiki.