community_coalesce: Coalesce the communities

Description Usage Arguments Value Examples

View source: R/community_coalesce.R

Description

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

Usage

1

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
5
6
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 Aug. 13, 2019, 9:41 p.m.