Title: | Estimating Network Indices, Including Trophic Structure of Foodwebs in R |
---|---|
Description: | Given a network (e.g. a food web), estimates several network indices. These include: Ascendency network indices, Direct and indirect dependencies, Effective measures, Environ network indices, General network indices, Pathway analysis, Network uncertainty indices and constraint efficiencies and the trophic level and omnivory indices of food webs. |
Authors: | Karline Soetaert <[email protected]>, Julius Kipyegon Kones <[email protected]>, Dick van Oevelen <[email protected]> |
Maintainer: | Karline Soetaert <[email protected]> |
License: | GPL (>= 2) |
Version: | 1.4.4.1 |
Built: | 2024-11-09 02:51:32 UTC |
Source: | https://github.com/cran/NetIndices |
Given a network (e.g. a food web), estimates several network indices.
These include:
ascendency network indices,
direct and indirect dependencies,
effective measures,
environ network indices,
general network indices,
pathway analysis,
network uncertainty indices and constraint efficiencies
the trophic level and omnivory indices of food webs.
Package: | NetIndices |
Type: | Package |
Version: | 1.4.1 |
Date: | 2010-11-01 |
License: | GNU Public License 2 or above |
Karline Soetaert (Maintainer), Netherlands Institute of Ecology
Julius Kipyegon Kones, University of Nairobi
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
## Not run: ## show examples (see respective help pages for details) example(AscInd) example(TrophInd) example(Takapoto) ## open the directory with script used to write the Kones et al. (2009) article browseURL(paste(system.file(package="NetIndices"), "/EcologicalModelling", sep="")) ## open the directory with documents browseURL(paste(system.file(package="NetIndices"), "/doc", sep="")) ## the vignette vignette("NetIndices") ## End(Not run)
## Not run: ## show examples (see respective help pages for details) example(AscInd) example(TrophInd) example(Takapoto) ## open the directory with script used to write the Kones et al. (2009) article browseURL(paste(system.file(package="NetIndices"), "/EcologicalModelling", sep="")) ## open the directory with documents browseURL(paste(system.file(package="NetIndices"), "/doc", sep="")) ## the vignette vignette("NetIndices") ## End(Not run)
Calculates measures of system growth and development: Ascendency, Overhead and Capacity for several (sub)networks.
AscInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, Dissipation = NULL)
AscInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, Dissipation = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network; the
indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the
indices point to the row positions in |
Dissipation |
vector with either the *indices* or the *names* to
external compartments that dissipate flows (e.g. respiration); the
indices point to the row positions in |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
A matrix with ascendency values (columns) for several subnetworks (rows).
The subnetworks (rows) are:
total |
network |
internal |
network (excluding flows from and to external) |
import |
flows |
export |
flows; this includes the usuable and unusable flows (i.e. +dissipation) |
dissipation |
flows |
The ascendency indices comprise (columns:)
asc |
the ascendency of the network, a measure of growth and development. |
overh |
the overhead of the network. |
cap |
the development capacity of the network, an upper bound on ascendency. |
ACratio |
the ratio of ascendency and capacity. |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Latham LG. 2006. Network flow analysis algorithms. Ecological Modelling 192: 586-600.
Ulanowicz RE. 2000. Ascendency: a measure of ecosystem performacne. Jorgensen SE, Muller F, editors. Handbook of Ecosystem Theories and Management. Lewis Publishers, Boca Raton, p303-315.
Ulanowicz RE, Norden JS. 1990. Symmetrical overhead in flow networks. International Journal of System Science 21: 429-437.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network AscInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"), Dissipation = "CO2") # Conesprings is the example set 1a from Latham 2006. as.data.frame( AscInd(Tij = Conesprings, Import = "Inflows", Export = c("Export","Dissipation"), Dissipation = "Dissipation") )
# The takapoto atoll network AscInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"), Dissipation = "CO2") # Conesprings is the example set 1a from Latham 2006. as.data.frame( AscInd(Tij = Conesprings, Import = "Inflows", Export = c("Export","Dissipation"), Dissipation = "Dissipation") )
Cone spring ecosystem (Tilly, 1968) adapted for input - output analysis by Williams & Crouthamel (1972) in Szyrmer & Ulanowicz (1987, Fig. 1, p. 129) and Ulanowicz & Norden (1990, Fig. 1, p. 435).
This is example 1a from Latham (2006).
The food web comprises 5 functional compartments:
Plants
Detritus
Bacteria
Detritus feeders
Carnivores
and two export compartments
usable export
dissipation
and one import compartment
Inflows
Conesprings
Conesprings
matrix with Tij values, where element (i,j) denotes flow from compartment j to i
rownames and columnames are the components.
Karline Soetaert <[email protected]>
Latham LG. 2006. Network flow analysis algorithms. Ecological Modelling 192: 586-600.
Szyrmer, J., & Ulanowicz, R. E. (1987). Total flows in ecosystems. Ecol. Model. 35, 123..136.
Tilly, L. J. (1968). The structure and dynamics of Cone Spring. Ecol. Monogr. 38, 169..197.
Ulanowicz, R. E., & Norden, J. S. (1990). Symmetrical overhead in flow networks. Int. J. Systems Sci. 21, 429..437.
Williams, M., & Crouthamel, D. (1972). Systems analysis of Cone Spring. Unpublished manuscript. University of Georgia, Athens, Georgia.
GenInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) AscInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), Dissipation = "Dissipation") UncInd(Tij = Conesprings,Import="Inflows", Export = c("Export", "Dissipation")) EffInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), full = TRUE)
GenInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) AscInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), Dissipation = "Dissipation") UncInd(Tij = Conesprings,Import="Inflows", Export = c("Export", "Dissipation")) EffInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), full = TRUE)
Calculates for each component in a flow network the direct+indirect dependency on the other components.
Dependency(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
Dependency(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network;
the indices point to the row positions in |
A matrix with dependency of component i on component j
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network Dependency(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # making "Bacteria" a "primary food source" TAK <- Takapoto TAK[,"Bacteria"] <- c(0, 0, 0, 0, 0, 0, 1, 0) # first two columns DD <- Dependency(TAK, Import = c("CO2", "DOC"), Export = c("CO2", "DOC", "Sedimentation", "Grazing")) DD barplot(t (DD[3:nrow(DD), 1:2]), beside = TRUE, ylab = "-", legend = c("Phytoplankton","Bacteria"), main = "dependency on (primary) food sources")
# The takapoto atoll network Dependency(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # making "Bacteria" a "primary food source" TAK <- Takapoto TAK[,"Bacteria"] <- c(0, 0, 0, 0, 0, 0, 1, 0) # first two columns DD <- Dependency(TAK, Import = c("CO2", "DOC"), Export = c("CO2", "DOC", "Sedimentation", "Grazing")) DD barplot(t (DD[3:nrow(DD), 1:2]), beside = TRUE, ylab = "-", legend = c("Phytoplankton","Bacteria"), main = "dependency on (primary) food sources")
Calculates effective connectivity, effective flows, effective nodes and effective roles of a network.
EffInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
EffInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the
indices point to the row positions in |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
a list with the following items:
CZ |
Effective connectance |
FZ |
Effective Flows |
NZ |
Effective nodes |
RZ |
Effective roles |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Latham LG. 2006. Network flow analysis algorithms. Ecological Modelling 192: 586-600.
Zorach and Ulanowicz, 2003. Quantifying the complexity of flow networks: how many roles are there?. Complexity 8,68-76.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network EffInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( EffInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
# The takapoto atoll network EffInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( EffInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
Calculates the indices of homogenization, synergism index, dominance of indirect effects,... of a network.
EnvInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, full = FALSE)
EnvInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, full = FALSE)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the
indices point to the row positions in |
full |
if TRUE, also returns matrices. |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
A list with the following items:
NAG |
Network aggradation = average path length. |
HP |
Homogenization index. |
BC |
Synergism. |
ID |
Dominance of Indirect effects. |
MN |
Mean of non-dimensional flow-matrix (N). |
MG |
Mean of direct flow-matrix (G). |
CVN |
Coefficient of variation of non-dimensional flow-matrix (N). |
CVG |
Coefficient of variation of direct flow-matrix (G). |
U |
Only if Full == TRUE: The Utility non-dimensional matrix. |
N1 |
Only if Full == TRUE: The Integral non-dimensional Flow Matrix. |
G |
Only if Full == TRUE: The Normalized direct flow (or transitive closure) matrix. |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Patten BC, Barber MC, Richardson TH. 1982. Path analysis of a reservoir ecosystem model.
Fath BD, Patten BC. 1999. Review of the foundations of network environ analysis. Ecosystems 2: 167-179.
Fath BD, Patten BC. 1999. Quantifying resource homogenization using network flow analysis. Ecological Modelling 123: 193-205.
Patten BC, Higashi M. 1984. Modified cycling index for ecological applications. Ecological Modelling 25: 69-83.
Higashi M, Patten BC. 1989. Dominance of indirect causality in ecosystems. The American Naturalist 133: 288-302.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network EnvInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) as.data.frame( EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) ) EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), full = TRUE)
# The takapoto atoll network EnvInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) as.data.frame( EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) ) EnvInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation"), full = TRUE)
Calculates general network indices such as system throughputs, link density, connectance,... of a network.
GenInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, tol = 0)
GenInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, tol = 0)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the indices
point to the row positions in |
tol |
flows that are smaller or equal to tol are assumed to be absent. |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
A list that contains:
N |
number of compartments, excluding the externals. |
T.. |
total System Throughput. |
TST |
total System Throughflow. |
Lint |
number of Internal links. |
Ltot |
total number of links. |
LD |
link Density. |
C |
connectance (internal). |
Tijbar |
average Link Weight. |
TSTbar |
average Compartment Throughflow . |
Cbar |
compartmentalization, [0,1], the degree of connectedness of subsystems within a network. |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Latham LG. 2006. Network flow analysis algorithms. Ecological Modelling 192: 586-600.
Hirata H, Ulanowicz RE. 1984. Informational theoretical analysis of ecological networks. International journal of systems science 15 (3): 261-270
Pimm SL, Lawton JH. 1980. Are food webs divided into compartments? Journal of Animal Ecology 49: 879-898.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network (GI<- GenInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"))) as.data.frame(GI) # a simple system as.data.frame(GenInd(diag(5))) # Conesprings is the example set 1a from Latham 2006. as.data.frame( GenInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
# The takapoto atoll network (GI<- GenInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"))) as.data.frame(GI) # a simple system as.data.frame(GenInd(diag(5))) # Conesprings is the example set 1a from Latham 2006. as.data.frame( GenInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
Calculates the direct and indirect pathways in a network, i.e. the total system cycled throughflow, Finn's cycling index and average pathlength,...
Based on Finn(1980) (and not Finn (1976))
PathInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
PathInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the
indices point to the row positions in |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
A list with the following items:
TSTC |
total system cycled throughflow. |
TSTS |
non-cycled throughflow. |
FCI |
Finn's cycling index (1980). |
FCIb |
revised Finn's cycling index, sensu Allesina and Ulanowicz, 2004. |
APL |
average pathlength, also known as Network Aggradation (Sum of APLc and APLs in Latham 2006). |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Finn JT. 1980. Flow analysis of models of the Hubbard Brook ecosystem. Ecology 61: 562-571.
Patten BC, Higashi M. 1984. Modified cycling index for ecological applications. Ecological Modelling 25: 69-83.
Patten BC, Bosserman RW, Finn JT, Cale WG. 1976. Propagation of cause in ecosystems. Patten BC, editor. Systems Analysis and Simulation in Ecology, vol. 4. Academic Press, New York. p457-579.
Allesina and Ulanowicz, 2004. Cycling in ecological netowrks: Finn's index revisited. Computational Biology and Chemistry 28, 227-233.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network PathInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( PathInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
# The takapoto atoll network PathInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( PathInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
Carbon flux matrix of the Takapoto atoll planktonic food web
as reconstructed by inverse modelling by Niquil et al. (1998).
The Takapoto Atoll lagoon is located in the French Polynesia of the South Pacific
The food web comprises 7 functional compartments:
Phytoplankton
Bacteria
Protozoa
Microzooplankton
Mesozooplankton
Detritus
Dissolved organic carbon (DOC)
one external source:
CO2
and three external sinks:
CO2
Sedimentation
Grazing
These compartments are connected with 32 flows.
Units of the flows are mg C/m2/day
Takapoto
Takapoto
matrix with flow values, where element ij denotes flow from compartment i to j
rownames and columnames are the components.
Karline Soetaert <[email protected]>
Niquil, N., Jackson, G.A., Legendre, L., Delesalle, B., 1998. Inverse model analysis of the planktonic food web of Takapoto Atoll (French Polynesia). Marine Ecology Progress Series 165, 17..29.
UncInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"))
UncInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"))
Calculates the trophic level and omnivory index of each component of a food web.
TrophInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, Dead = NULL)
TrophInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL, Dead = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network; the
indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the indices
point to the row positions in |
Dead |
vector with either the *indices* or the *names* of dead matter;
the indices point to row positions in |
Primary producers, defined as those compartments that do not receive matter from another internal compartment, will be assigned a trophic level of 1.
In many trophic level calculations, it is also assumed that TL of detritus, dissolved organic matter and other inert material (i.e. that does not feed) is also = 1.
If this is desired, these compartments have to be designated as "Dead"
(i.e. Dead
should contain an index to row positions in Tij
of these compartments.
If not specified as "Dead", these compartments will have a TL > 1 and consequently the TL of other compartments will be higher too.
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
a 2-columned data.frame with, for each compartment of the network the following:
TL |
the trophic level of a compartment, defined as 1 + the weighted average of the trophic levels of its food items. |
OI |
the omnivory index, the variety in the trophic levels of a consumer's food. |
Up to version 1.4.1, the estimation of TL produced strange results in case compartments feed on themselves. Then it was possible to produce negative Trophic levels. From version 1.4.2, it is implemented that self-feeding does not affect the TL of the compartment. Because of that, results may be different from the initial versions in such cases.
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Christensen V, Pauly D. 1992. ECOPATH II - a software for balancing steady-state ecosystem models and calculating network characteristics. Ecological Modelling 61: 169-185.
Lindeman RL. 1942. The trophic dynamic aspect of ecology. Ecology 23: 399-418.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network # First trophic level without assuming that TL of detritus and DOC is 1 TrophInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Now imposing TL=1 for detritus and DOC TrophInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"), Dead = c("Detritus", "DOC"))
# The takapoto atoll network # First trophic level without assuming that TL of detritus and DOC is 1 TrophInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Now imposing TL=1 for detritus and DOC TrophInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing"), Dead = c("Detritus", "DOC"))
Calculates the statistical, conditional and realised uncertainty, the average mutual information index, and the network uncertainty, network constraint and constraint efficiency,...
UncInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
UncInd(Flow = NULL, Tij = t(Flow), Import = NULL, Export = NULL)
Flow |
network matrix with Flow[i,j] the flow from i (row) to j (column); component positions in rows and columns must be the same; if present, rownames or columnnames denote the compartment names. |
Tij |
network matrix where connectance is from column j to row i; component positions in rows and columns must be the same ; if present, rownames or columnnames denote the compartment names. |
Import |
vector with either the *indices* or the *names* of
external compartmens from where flow enters the network;
the indices point to the column positions in |
Export |
vector with either the *indices* or the *names* of
external compartmens to where flow leaves the network; the
indices point to the row positions in |
The mathematical formulation of these indices can be found in the package vignette - vignette("NetIndices").
The PDF can be found in the subdirectory ‘doc’ of the NetIndices package.
a list with the following items:
AMI |
the average mutual information; as a system matures to form a web-like pattern, the AMI drops. |
HR |
the statistical uncertainty, upper bound on AMI, a measure of diversity. |
DR |
the conditional uncertainty index, the difference between AMI and HR, a measure of stability. |
RU |
the realised uncertainty index, ratio of AMI and HR. |
Hmax |
maximum uncertainty. |
Hc |
constraint information. |
Hsys |
network uncertainy. |
CE |
constraint efficiency. |
Karline Soetaert <[email protected]>, Julius Kipyegon Kones<[email protected]>
Latham LG. 2006. Network flow analysis algorithms. Ecological Modelling 192: 586-600.
Ulanowicz RE, Norden JS. 1990. Symmetrical overhead in flow networks. International Journal of System Science 21: 429-437.
Gallager RG. 1968. Information Theory and Reliable Communication. Wiley, New York.
Shannon CE. 1948. A mathematical theory of communication. Bell System Technical Journal 27: 379-423.
Ulanowicz RE. 1997. Ecology, the ascendent perspective. Allen TFH, Roberts DW, editors. Complexity in Ecological Systems Series. Columbia University Press, New York..
Latham LG, Scully EP. 2002. Quantifying constraint to assess development in ecological networks. Ecological Modelling 154: 25-44.
Rutledge RW, Basorre BL, Mulholland RJ. 1976. Ecological stability: an information theory viewpoint. Journal of Theoretical Biology 57: 355-371.
Kones, J.K., Soetaert, K., van Oevelen, D. and J.Owino (2009). Are network indices robust indicators of food web functioning? a Monte Carlo approach. Ecological Modelling, 220, 370-382.
# The takapoto atoll network UncInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( UncInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )
# The takapoto atoll network UncInd(Takapoto, Import = "CO2", Export = c("CO2", "Sedimentation", "Grazing")) # Conesprings is the example set 1a from Latham 2006. as.data.frame( UncInd(Tij = Conesprings, Import = "Inflows", Export = c("Export", "Dissipation")) )