Convert biomass to Nf and Ns
biomass_to_Nf.RdConverts wet or dry biomass to N_f and N_s via:
$$B = \frac{N_f + N_s}{Q_{min}}$$
and where the ratio between N_f and N_s is calculated via:
$$\frac{Ns}{Nf} = \frac{Q_{int}}{Q_{min}} - 1$$
Arguments
- biomass
starting biomass, mg m-3
- Q_int
Non-dimensionalised internal nutrient quotient
- Q_rel
the non-dimensionalised relative internal nutrient quotient (\(Q_{rel}\)). Only one of \(Q_{int}\) or \(Q_{rel}\) need to be provided. If neither \(Q_{int}\) or \(Q_{rel}\) are provided the default if \(Q_{rel}=0.5\) will be used.
- spec_params
a vector of named numbers. Must include:
DWWW(if dry = F), the conversion from dry weight to wet weightQ_min, the minimum internal nutrient quotient (mg gDW-1)Q_max, the maximum internal nutrient quotient
- dry
whether dry (default) or wet biomass is provided, mg m-3
Examples
my_species <- c(DWWW = 7.5, Q_min = 20, Q_max = 45)
starting_biomass <- 250 # mg m-3
# Using default Q_rel = 0.5
biomass_to_Nf(biomass = starting_biomass, spec_params = my_species, dry = T)
#> Nf Ns
#> 5.000 3.125
# Using a specific Q_int
biomass_to_Nf(biomass = starting_biomass, Q_int = 30, spec_params = my_species, dry = T)
#> Nf Ns
#> 5.0 2.5