plot.nlme.mmkin.Rd
Plot a fitted nonlinear mixed model obtained via an mmkin row object
# S3 method for nlme.mmkin plot( x, i = 1:ncol(x$mmkin_orig), main = "auto", legends = 1, resplot = c("time", "errmod"), standardized = FALSE, cex = 0.7, rel.height.middle = 0.9, ymax = "auto", ... )
x | An object of class |
---|---|
i | A numeric index to select datasets for which to plot the nlme fit, in case plots get too large |
main | The main title placed on the outer margin of the plot. |
legends | An index for the fits for which legends should be shown. |
resplot | Should the residuals plotted against time, using
|
standardized | Should the residuals be standardized? This option
is passed to |
cex | Passed to the plot functions and |
rel.height.middle | The relative height of the middle plot, if more than two rows of plots are shown. |
ymax | Maximum y axis value for |
... | Further arguments passed to |
The function is called for its side effect.
ds <- lapply(experimental_data_for_UBA_2019[6:10], function(x) subset(x$data[c("name", "time", "value")], name == "parent")) f <- mmkin("SFO", ds, quiet = TRUE, cores = 1) #plot(f) # too many panels for pkgdown library(nlme) f_nlme <- nlme(f) #plot(f_nlme) # too many panels for pkgdown plot(f_nlme, 1:2)