plot_trajectories: Plot state-variables trajectory over time given a numerical...

Description Usage Arguments Value

View source: R/plot_trajectories.R

Description

Function for plotting trajectories of the solution to an ODE system.

Usage

1
2
3
4
5
6
plot_trajectories(
  sol,
  legend_names = NULL,
  legend_loc = "topright",
  legend_size = 0.9
)

Arguments

sol

solution to plot, object returned from ode, ode1 etc

legend_names

optional, will otherwise use the names given to sol

legend_loc

where to place the legend: "topleft", "topright", etc.

legend_size

number between 0 and 1 for scaling the legend box

Value

null


shill1729/odeSolveR documentation built on March 31, 2021, 10:52 a.m.