plotRes | R Documentation |
drc
objectsTwo graphs of model residualsts (selectable by the argument 'which') are currently available: a plot of residuals against fitted values (which = 1) and a Normal Q-Q plot (which = 2). By default, the first graph is provided.
plotRes(x, which = 1, ...)
x |
an object of class 'drc' |
which |
The type of graph: can be 1 or 2 |
... |
additional graphical arguments |
It mimicks the behaviour of the function plot.lm()
Andrea Onofri
library(statforbiology)
data(degradation)
mod <- nls(Conc ~ NLS.expoDecay(Time, a, k),
data = degradation)
plot(mod, which = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.