community_coalesce: Coalesce the communities

Description Arguments Value Examples

View source: R/community_coalesce.R

Description

This function coalesce the communities that are put together for the consumer-resource dynamics

Arguments

...

input must be named vectors. Each named vector has value indicate the biomass, whereas names are resource or consumer. consumer or resource

Value

a united named vector or all input communities

Examples

1
2
3
4
com1 <- community_generate(I = .01, threshold = 1e-3)
com2 <- community_generate(I = .01, threshold = 1e-3, r = 2)
com3 <- community_generate(I = .01, threshold = 1e-3, r = 3)
community_coalesce(com1, com2, com3)

Chang-Yu-Chang/MigrationCommunity documentation built on Sept. 8, 2018, 8:30 p.m.