Learn R Programming

primer (version 0.1)

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 1vector of the state variable (a scalar for the proportion of sites occupied).

References

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

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

See Also

gotelli, hanski,lande, MetaSim clogistic

Examples

Run this code
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