Learn R Programming

primer (version 1.2.0)

hanski: Core-satellite Metapopulation Model

Description

A function for the core-satellite metaapopulation dynamics, for use with ode in the deSolve package.

Usage

hanski(t, y, parms)

Arguments

t

Argument for time

y

A scalar for the population variable

parms

Vector or list of parameters

Value

Returns a list of length one, for use with ode in the deSolve package.

Component 1

vector of the state variable (a scalar for the proportion of sites occupied).

References

Hanski, I. (1982) Dynamics of regional distribution: the core and satellite species hypothesis. Oikos, 38, 210--221.

Stevens, M.H.H. (2009) A Primer of Ecology with R. Use R! Series. Springer.

See Also

gotelli, hanski,lande, MetaSim, clogistic

Examples

Run this code
# NOT RUN {
prms <- c(ci<- 0.15, e=0.05)
out <- ode(y=.2, times=1:100, func=hanski, parms=prms )
matplot(out[,1], out[,2], type='l', ylab="p", xlab="time")

# }

Run the code above in your browser using DataLab