competition {phaseR}R Documentation

The species competition model

Description

The derivative function of the species competition model, an example of a two-dimensional autonomous ODE system.

Usage

competition(t, y, parameters)

Arguments

t

The value of t, the independent variable, to evaluate the derivative at. Should be a numeric vector of length one.

y

The values of x and y, the dependent variables, to evaluate the derivative at. Should be a numeric vector of length one.

parameters

The values of the parameters of the system. Should be a numeric vector with parameters specified in the following order: r1, K1, α12, r2, K2, α21.

Details

competition evaluates the derivative of the following coupled ODE system at the point (t, x, y):

dx/dt = r1x(K1 - x - α12y)/K1, dy/dt = r2y(K2 - y - α21x)/K2.

Its format is designed to be compatible with ode from the deSolve package.

Value

Returns a list containing the values of the two derivatives at (t, x, y).

Author(s)

Michael J Grayling

See Also

ode


[Package phaseR version 2.2.1 Index]