uniquepaths: enumerate all unique food chains that are linked to a given...

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

Description

the food chains can allow circles/loop. This function will return all unique food chains that involved the focused species as a node , and the duplicated chains are deleted. It is recommended to use rather than the function 'pathways'.

Usage

1
uniquepaths(gemat, sp)

Arguments

gemat

standard square graph matrix

sp

the species you want to search.

Value

return a list showing all food chains by presenting each node in that chain. Also, the weights for each link will be returned as well.

Author(s)

Youhua Chen <haydi@126.com>

References

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

See Also

pathways

Examples

1
2
mat=matrix(c(0,5,3,7,0,5,0,8,0,4,3,8,0,1,6,7,0,1,0,2,0,4,6,2,0),5,5)
uniquepaths(mat,sp=2)


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.