Plot of species growth response over a range of temperatures
T_plot.Rd
A shortcut function to quickly see a species' response to a range of temperatures.
Usage
T_plot(spec_params, temp = seq(-10, 45, 0.25))
Arguments
- spec_params
a vector of named numbers. Must include:
T_opt
the optimum temperature for macroalgae growthT_min
the minimum temperature for macroalgae growth (whenT_c
<T_min
, growth = 0)T_max
the maximum temperature for macroalgae growth (whenT_c
>T_max
, growth = 0)
- temp
a vector of the range of temperatures to be tested (defaults to seq(-10, 45, 0.25))
Examples
spec_params <- c(T_opt = 25, T_min = 5, T_max = 35)
T_plot(spec_params)
#> Error in T_plot(spec_params): could not find function "T_plot"