knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = F, message = F )
library(enaR) library(network)
The enaR
library can be used to perform the Flow Analysis of Ecological Network Analysis. This includes finding the node throughflows, calculating the Input and Output analyses, and determining a set of whole-network metrics.
# load a model data(enaModels) m <- enaModels[[9]] # select the oyster reef model
f <- enaFlow(m) # peform the ENA flow analysis attributes(f) show(f$N) # integral output-oriented flow intensity show(f$ns) # vector of flow-based network statisics
The ascendancy metrics proposed by Dr. Ulanowicz are also most often applied to the network flow distributions. In enaR
this is done as follows.
a <- enaAscendency(m) # calculate the Ascendnecy metrics show(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.