solveCoral: Solve coral-_Symbiodinium_ ODEs Function solveCoral uses the...

Description Usage Arguments Value See Also Examples

View source: R/coRalODEs.R

Description

Solve coral-Symbiodinium ODEs Function solveCoral uses the deSolve package to generate values similar to run_coral from the coRal package.

Usage

1
2
3
4
5
6
7
8
9
solveCoral(
  times = c(0, 500),
  pars = defPars(),
  lambda = 5,
  method = "vode",
  func = coralODEs,
  init = initState,
  ...
)

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".

func

The function to find the rates of change of the state variables. Default coralODEs.

...

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, coralODEs, coralODEs.noROS

Examples

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

ethanbaxterUCSB/coRalODEs documentation built on Jan. 28, 2022, 12:43 a.m.