calc_lag_fit_to_baranyi_with_lag {miLAG} | R Documentation |
calc_lag_fit_to_baranyi_with_lag
Description
Runs nlsLM/nls algorithms with three different parameter setups to fit the best Logistic model parameters to our data and chooses the best model
Usage
calc_lag_fit_to_baranyi_with_lag(
gr_curve,
LOG10N0 = NULL,
init_lag = NULL,
init_mumax = NULL,
init_LOG10Nmax = NULL,
algorithm = "auto",
max_iter = 100,
lower_bound = c(0, 0, 0, 0)
)
Arguments
gr_curve |
data from one specific growth curve with these two columns: time and biomass |
LOG10N0 |
the decimal logarithm of initial biomass |
init_lag |
initial value for the lag parameter |
init_mumax |
initial value for the mumax parameter |
init_LOG10Nmax |
initial value for the LOG10Nmax parameter |
algorithm |
defaults to "auto" which chooses between bounded and unbounded Levenberg-Marquardt method and the bounded port method |
max_iter |
max. number of itertaions; defaults to 100 |
lower_bound |
lower.bound for the bounded nls optimisation; defaults to 0 |
Value
lag and the nls fitting object with parameters fitted to logistic model
[Package miLAG version 1.0.2 Index]