calc_lag_fit_to_logistic_with_lag {miLAG}R Documentation

calc_lag_fit_to_logistic_with_lag

Description

Runs nlsLM/nls algorithm of the user's choice to fit the Logistic model parameters to our data

Usage

calc_lag_fit_to_logistic_with_lag(
  gr_curve,
  n0,
  init_gr_rate = init_gr_rate,
  init_K = init_K,
  init_lag = init_lag,
  algorithm = "auto",
  max_iter = 100,
  lower_bound = c(0, 0, 0)
)

Arguments

gr_curve

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

n0

the initial biomass

init_gr_rate

initial value for the growth rate

init_K

initial value for the saturation parameter K

init_lag

initial value for the lag parameter

algorithm

defaults to "auto" which chooses between bounded and unbounded Levenberg-Marquardt method and the bounded port method

max_iter

max. number of iterations; defaults to 100

lower_bound

lower bound for the bounded nls optimization; defaults to 0

Value

lag and the nls fitting object with parameters fitted to logistic model


[Package miLAG version 1.0.2 Index]