TGC_calculate_final_weight: Calculate final body weight using TGC model

View source: R/tgc_functions.R

TGC_calculate_final_weightR Documentation

Calculate final body weight using TGC model

Description

Calculate final body weight using TGC model

Usage

TGC_calculate_final_weight(dd_table, initial_weight, tgc)

Arguments

dd_table

Dataframe with degree-day data, as exported from count_degree_days. Must include columns n_degree_days.

initial_weight

A vector of initial weight(s) of the fish in kilograms.

tgc

A vector of thermal growth coefficient(s).

Details

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.

Value

Returns dd_table additional columns INITIAL_WEIGHT, TGC, and TGC_FINAL_WEIGHT.


dempsey-CMAR/tgc documentation built on Oct. 20, 2023, 6:45 p.m.