Learn R Programming

biogrowth (version 0.2.0)

calculate_gammas: Calculates every gamma factor

Description

A helper function for predict_dynamic_growth that calculates the value of every gamma factor corresponding to some storage time.

Usage

calculate_gammas(this_t, env_func, sec_models)

Arguments

this_t

Storage time

env_func

A list of functions (generated using approxfun) that give the value of each environmental function for some storage time.

sec_models

A nested list describing the secondary models.

Value

A vector of gamma factors (one per environmental factor).