View source: R/tgc_functions.R
TGC_calculate_initial_weight | R Documentation |
Calculate initial body weight using TGC model
TGC_calculate_initial_weight(dd_table, final_weight, tgc)
dd_table |
Dataframe with degree-day data, as exported from
|
final_weight |
A vector of final weight(s) of the fish in kilograms. |
tgc |
A vector of thermal growth coefficient(s). |
Initial weight is calculated from the thermal growth coefficient (TGC) model:
initial_weight = (final_weight^(1/3) - (TGC/1000)*degree_days)^3
where final_weight
and initial_weight
are in kilograms.
Initial 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 FINAL_WEIGHT
,
TGC
, and TGC_INITIAL_WEIGHT
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.