solveCoral: Solve coral-_Symbiodinium_ ODEs

Description Usage Arguments Value See Also Examples

View source: R/coralSymbODEs.R

Description

Function solveCoral uses the deSolve package to generate values similar to coRal (Cunning). Is essentially a transcription of Ferdinand Pfab's Mathematica code to R.

Usage

1
2
3
4
5
6
7
solveCoral(
  times = c(0, 500),
  pars = defPars(),
  lambda = 5,
  method = "vode",
  ...
)

Arguments

times

The time values at which output is desired. Default c(0,500).

pars

The paramaters of the model, given as a list. See function defPars. Default defPars().

lambda

The sensitivity of the runs. High values are more sensitive and small values are less sensitive. Default 5.

method

The character method argument of ode() from deSolve desired. Default "vode".

...

Any other arguments to be passed to ode().

Value

Matrix of values for fluxes, biomass, and host growth rate at explicitly desired time values.

See Also

defPars, initState

Examples

1
2
solveCoral()
solveCoral(times = seq(0,365,0.1), pars = defPars(), lambda = 10, atol = 0.01, rtol = 0.01)

ethanbaxterUCSB/coralSymbiontODEs documentation built on Dec. 8, 2020, 9:42 a.m.