decomp: decompose the weighted graph into directional single...

Description Usage Arguments Value Author(s) References See Also Examples

Description

It will return all connected graphs, and a unconnected graph

Usage

1
decomp(gemat)

Arguments

gemat

the square graph matrix

Value

return all single connected directed graphs and a final non-decomposable graph

Author(s)

Youhua Chen <haydi@126.com>

References

van Groenendael J, de Kroon H, Kalisz S, Tuljapurkar S (1994) Loop analysis: evaluating life history pathways in population projection matrices. Ecology, 75, 2410-2415.

Sun L, Wang M (2007) An algorithm for a decomposition of weighted digraphs: with applications to life cycle analysis in Ecology. Journal of Mathematical Biology, 54, 199-226.

Chen Y (2012) loop: an R package for performing decomposition of weighted directed graphs, food web analysis and flexible network plotting. Submitted.

See Also

gplot, fplot, fplot.foodweb, loop.forward, loop.random

Examples

1
2
3
mat=matrix(c(13,26,0,12,18,15,15,0,2),nrow=3,ncol=3)
#search out all loops
decomp(gemat=mat)


Search within the loop package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.