oneStation_DOPredict: Predict a time series of dissolved oxygen concentration

Description Usage Arguments Details Value

View source: R/onestation.r

Description

Predict a time series of dissolved oxygen concentration

Usage

1
2
3
4
5
6
7
8
9
oneStation_DOPredict(
  initial,
  times,
  params,
  data,
  dt = 1,
  method = c("euler", "lsoda"),
  gpp = FALSE
)

Arguments

initial

initial dissolved oxygen concentration

times

The times at which to solve the system

params

a named vector of parameters; see details

data

a list of data for the ode; see details

dt

Time step for integration; only used if method == 'euler'

method

The integration method to use; default is euler

gpp

Logical, should GPP at each time step be returned as well?

Details

Light and temperature time series will be approximated using linear interpolation at the desired time steps

params must be a vector including the following named items:

data is a named list of (constant) data items, including the following:

Value

Time series of dissolved oxygen concentrations


mtalluto/NSmetabolism documentation built on May 3, 2021, 7:51 p.m.