stateMotion: Equations of Motion

Description Usage Arguments Value Note

Description

Provides the motion of each state variable (change in that variable as a function of itself and parameters)

Usage

1
stateMotion(state0, stateVar = c("A0", "F0", "J0"), pars)

Arguments

state0

numeric, value of a state variable (can be scalar or vector, not named)

stateVar

character, name of state variable whose motion you want

pars

named vector of parameters, needs to at least include qE

Value

numeric scalar or vector indicating the rate of change of the state variable

Note

These functions should essentially replace dFJ_dt_1state. The A motion function was not an option in dFJ_dt_1state, though. Both A motion and J motion are done without much algebra or substitution; however, getting the equation/ function for F motion requires doing some alebraic substitution to get the A state variable to cancel out. Dividing by A and letting it cancel probably involves some extra assumption that might make the F motion equation/ function invalid in certain areas of state-space.


cboettig/bs-tipping documentation built on May 5, 2019, 7:08 a.m.