drawTrajectories: drawTrajectories

Description Usage Arguments Value Author(s) See Also

Description

evaluate and draw trajectories in the phase plane

Usage

1
2
3
4
5
6
7
drawTrajectories(fDeriv, tEnd = 1, tCut = 60, ..., tStart = 0, 


    x0 = list(x = c(1), y = c(1)), color = "black", arrowHeads = 0.06, 


    qArrow = 0.1, fLapply = lapply, fOde = deSolve::lsoda)

Arguments

fDeriv

derivative function function(x,y,...)

tEnd

numeric scalar: end time

tCut

numeric scalar: number of points of the trajectory

...

further arguments to fDeriv

tStart

start time

x0

list of starting positions, such as returned by locator(2,"p"), with entries

x

numeric vector of x positions

y

numeric vector of y positions

color

colour of the trajectory

arrowHeads

size of the arrow heads (in inches), set t0 0 to avoid

qArrow

quantile of the timepoints at which an arrow is drawn

fLapply

apply function (use sfLapply for parallel calculation of trajectories)

fOde

function to solve the forward problem

Value

invisible list of lsoda output for each trajectory

Author(s)

Thomas Wutzler

See Also

phaseArrows, pplane


pplane documentation built on May 2, 2019, 6:07 p.m.