TGC_calculate_initial_weight: Calculate initial body weight using TGC model

View source: R/tgc_functions.R

TGC_calculate_initial_weightR Documentation

Calculate initial body weight using TGC model

Description

Calculate initial body weight using TGC model

Usage

TGC_calculate_initial_weight(dd_table, final_weight, tgc)

Arguments

dd_table

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

final_weight

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

tgc

A vector of thermal growth coefficient(s).

Details

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.

Value

Returns dd_table additional columns FINAL_WEIGHT, TGC, and TGC_INITIAL_WEIGHT.


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