simulate_lv: Simulator for the Lotka-Volterra dynamical system

View source: R/system_ode.R

simulate_lvR Documentation

Simulator for the Lotka-Volterra dynamical system

Description

Describes the dynamics of biological systems in which two species interact.

Usage

simulate_lv(
  parameters,
  start_coords = c(x = 0.01, y = 0.01),
  t_max = 10,
  t_step = 1/100
)

Arguments

parameters

α, β, γ, δ are positive real parameters describing the interaction of the two species. (numeric vector).

start_coords

initial conditions (numeric vector)

t_max, t_step

end time and step of the simulation (numeric).

Value

a dataframe with time, x, and y columns


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.