get_init_pars_baranyi: get_init_pars_baranyi

View source: R/milags_functions.R

get_init_pars_baranyiR Documentation

get_init_pars_baranyi

Description

Finds reasonable approximation for baranyi growth curve parameters (init_mumax, lag) based on the growth curve and some initial values These approximations will be used as the initial values for the proper optimization algorithm run later.

Usage

get_init_pars_baranyi(
  data_this_curve,
  this_n0,
  init_lag,
  init_gr_rate,
  min_b = 0.2,
  min_a = 0.8
)

Arguments

data_this_curve

data from one specific growth curve with these two columns: time and biomass

this_n0

the initial biomass

init_lag

initial value for the lag parameter

init_gr_rate

initial value for the growth rate

min_b

defaults to 0.2; mina and minb define where to look for exponential phase: it will be where the biomass is between min + (max-min)*(mina TO minb)

min_a

defaults to 0.8

Value

list of parameters: init_mumax, init_lag


miLAG documentation built on Nov. 17, 2023, 9:07 a.m.