Grow macroalgae
grow_macroalgae.Rd
Initiate and grow macroalgae.
Usage
grow_macroalgae(
start = 1,
grow_days,
temperature,
salinity,
light,
kW,
velocity,
nitrate,
ammonium,
other_N = NA,
ni_uptake,
am_uptake,
ot_uptake = NA,
site_params,
spec_params,
initials,
sparse_output = T,
track_limiting = T,
other_constants = c(s = 0.0045, gam = 1.13, a2 = 0.2^2, Cb = 0.0025)
)
Arguments
- start
numeric, start of the growth period (day of at-sea deployment). Defaults to 1.
- grow_days
integer, number of day in growing period - if missing will take the length of the temperature vector
- temperature
a vector of daily temperatures (\(^{\circ}\)C)
- salinity
a vector of daily salt concentrations (g L\(^{-1}\))
- light
a vector of surface light (umol m\(^{-2}\) s\(^{-1}\))
- kW
a vector of light attenuation coefficients for open water (m\(^{-1}\))
- velocity
a vector of water velocities (m s\(^{-1}\))
- nitrate
a vector of nitrate concentrations (mg m\(^{-3}\))
- ammonium
a vector of ammonium concentrations (mg m\(^{-3}\))
- other_N
a vector of other nitrogen concentrations (mg N m\(^{-3}\)) - NOT IN USE
- site_params
a named vector of species-specific parameters - see details
- spec_params
a named vector of site-specific parameters - see details
- initials
a named vector of the macroalgae starting conditions
- sparse_output
logical, whether to include input vectors and other non-essential information in final dataframe (default = TRUE)
- track_limiting
logical, whether to track a single "limiting" factor (see details)
- other_constants
a named vector of miscellaneous constants (see
u_c()
)
Details
Example csv with all the spec_params & site_params required?
Note that the final growth dataframe is inclusive of the start and end date, so the environmental vectors must be the same