mkinresplot(object, obs_vars = names(object$mkinmod$map), xlim = c(0, 1.1 * max(object$data$time)), xlab = "Time", ylab = "Residual", maxabs = "auto", legend = TRUE, lpos = "topright", ...)
mkinfit
object.
legend
. plot
.
This function plots the residuals for the specified subset of the
observed variables from an mkinfit object. A combined plot of the fitted
model and the residuals can be obtained using plot.mkinfit
using the argument show_residuals = TRUE
.
model <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))Successfully compiled differential equation model from auto-generated C code.fit <- mkinfit(model, FOCUS_2006_D, quiet = TRUE) mkinresplot(fit, "m1")
mkinplot
, for a way to plot the data and the fitted lines of the
mkinfit object.