update.mkinfit {mkin} | R Documentation |
Update an mkinfit model with different arguments
Description
This function will return an updated mkinfit object. The fitted degradation model parameters from the old fit are used as starting values for the updated fit. Values specified as 'parms.ini' and/or 'state.ini' will override these starting values.
Usage
## S3 method for class 'mkinfit'
update(object, ..., evaluate = TRUE)
Arguments
object |
An mkinfit object to be updated |
... |
Arguments to |
evaluate |
Should the call be evaluated or returned as a call |
Examples
## Not run:
fit <- mkinfit("SFO", subset(FOCUS_2006_D, value != 0), quiet = TRUE)
parms(fit)
plot_err(fit)
fit_2 <- update(fit, error_model = "tc")
parms(fit_2)
plot_err(fit_2)
## End(Not run)
[Package mkin version 1.2.6 Index]