| update.modeler | R Documentation |
modeler objectIt creates a new fitted object using the parameter values from the current model as initial values. It can also be used to perform a few additional iterations of a model that has not converged.
## S3 method for class 'modeler'
update(object, method = NULL, track = TRUE, eps = 1e-06, ...)
object |
An object of class |
method |
A character vector specifying optimization methods.
Check available methods using |
track |
Logical. If |
eps |
Numeric. The minimum change in SSE required to consider a fit improved.
Defaults to |
... |
Additional parameters for future functionality. |
An object of class modeler, which is a list containing the following elements:
paramData frame containing optimized parameters and related information.
dtData frame with input data, fitted values, and residuals.
metricsMetrics and summary of the models.
executionTotal execution time for the analysis.
responseName of the response variable analyzed.
keepMetadata retained based on the keep argument.
funName of the curve-fitting function used.
parallelList containing parallel execution details (if applicable).
fitList of fitted models for each group.
library(flexFitR)
data(dt_potato)
mo_1 <- dt_potato |>
modeler(
x = DAP,
y = GLI,
grp = Plot,
fn = "fn_lin_pl_lin",
parameters = c(t1 = 10, t2 = 62, t3 = 90, k = 0.32, beta = -0.01),
subset = 195
)
plot(mo_1)
mo_2 <- update(mo_1)
plot(mo_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.