Learn R Programming

comsimitv (version 0.1.5)

MetaCom.Dispersal: Seed dispersion in a metacommunity

Description

Seeds can disperse to any other local community with the same probability; i.e. probability to disperse other subcommunity/(number local communities - 1). Each seed is dispersed independently.

Usage

MetaCom.Dispersal(n, before, m = 0.1, ...)

Arguments

n

number of local (sub)communities

before

A matrix of seed's attributes; seeds in rows, their location, species identity and traits are in columns. Column that contains information on locality has to be called 'site'

m

probability that a seed are dispersed into other (sub)community

...

Additional parameters. It necessary for thechnical reasons: the framework don't know the current list of parameters when call this function

Value

Same type of matrix as before

Details

Both input and output is a matrix where seeds are in the rows, and their attributes (i.e. location, species identity and trait values) are in the columns.

See Also

fDispersal