enaR = Ecological Network Analysis in R
R
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
data
man
vignettes
.CHANGELOG
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md

README.md

enaR: Tools for Ecological Network Analysis

DOI

Build Status

Branch Status
master Build Status
development Build Status

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

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)

Basic Usage

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.