View source: R/tgc_functions.R
TGC_calculate_final_weight | R Documentation |
Calculate final body weight using TGC model
TGC_calculate_final_weight(dd_table, initial_weight, tgc)
dd_table |
Dataframe with degree-day data, as exported from
|
initial_weight |
A vector of initial weight(s) of the fish in kilograms. |
tgc |
A vector of thermal growth coefficient(s). |
Final weight is calculated from the thermal growth coefficient (TGC) model:
final_weight = (initial_weight^(1/3) + (TGC/1000)*degree_days)^3
where final_weight
and initial_weight
are in kilograms.
Final weight will be calculated for all combinations of
initial_weight
and tgc
supplied in the arguments and each row
of dd_table
.
Returns dd_table
additional columns INITIAL_WEIGHT
,
TGC
, and TGC_FINAL_WEIGHT
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.