View source: R/thermal_integration.R
thermal_area | R Documentation |
The function finds the lower and upper roots (where the thermal curve crosses
0) with the uniroot
function and then integrates the
area under the thermal curve with the integrate
function. This is useful as part of the optimization routine in
optim_thermal
.
thermal_area(
max_a,
desired_area,
optim_temp,
width_param,
lower = -5,
upper = 40
)
max_a |
Maximum Ricker a productivity value |
desired_area |
Desired area under the thermal curve |
optim_temp |
Optimal temperature |
width_param |
The width parameter as a numeric value |
lower |
Lower bound to pass to |
upper |
Upper bound to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.