Description Usage Arguments Value Author(s) References See Also Examples
It will return all connected graphs, and a unconnected graph
1 | decomp(gemat)
|
gemat |
the square graph matrix |
return all single connected directed graphs and a final non-decomposable graph
Youhua Chen <haydi@126.com>
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.
gplot
,
fplot
,
fplot.foodweb
,
loop.forward
,
loop.random
1 2 3 |
Loading required package: grid
Loading required package: MASS
[[1]]
[,1] [,2] [,3]
[1,] 13 0 0
[2,] 0 0 0
[3,] 0 0 0
[[2]]
[,1] [,2] [,3]
[1,] 0 12 0
[2,] 12 0 0
[3,] 0 0 0
[[3]]
[,1] [,2] [,3]
[1,] 0 0 14
[2,] 14 0 0
[3,] 0 14 0
[[4]]
[,1] [,2] [,3]
[1,] 0 0 0
[2,] 0 18 0
[3,] 0 0 0
[[5]]
[,1] [,2] [,3]
[1,] 0 0 0
[2,] 0 0 0
[3,] 0 0 2
[[6]]
[,1] [,2] [,3]
[1,] 0 0 1
[2,] 0 0 0
[3,] 0 1 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.