removalRateFuncDefault function

Removal Rate Function

Removal Rate Function

Return the rate of removal of any state variable from the system This is called in the ODE derivs func

removalRateFuncDefault(varName, varValue, stateVarValues, time, washOut, parms)

Arguments

  • varName: (string) Name of state variable of interest (this is group name or a resource name - NOT a strain name)
  • varValue: (scalar) value of state variable of interest
  • stateVarValues: (named vector) values of all state variables
  • time: (scalar) time
  • washOut: (named vector) of wash out rates (per unit time) of groups and resources (specified in SysInfo files)
  • parms: List containing all system parameters

Returns

(scalar) rate of removal (quantity per unit time) for the state variable varName