cost_coupled_twosteps: Cost for the coupled model fitted in two-steps

View source: R/fit_coupled_growth.R

cost_coupled_twostepsR Documentation

Cost for the coupled model fitted in two-steps

Description

Cost for the coupled model fitted in two-steps

Usage

cost_coupled_twosteps(p, this_data, weight = NULL, known)

Arguments

p

numeric vector (or list) of model parameters. Must have entries logC0, b and Tmin

this_data

tibble (or data.frame) of data. It must have one column named temp (temperature), one named lambda (specific growth rate; in ln CFU/TIME) and one named mu (specific growth rate; in ln CFU/TIME).

weight

type of weights to apply. Either NULL (no weights; default), sd (standard deviation) or mean (mean value).

known

vector of known model parameters

Value

vector of weighted residuals


biogrowth documentation built on April 13, 2025, 5:12 p.m.