plotRes: Graphical analyses of residuals for 'drc' objects

View source: R/plotRes.R

plotResR Documentation

Graphical analyses of residuals for drc objects

Description

Two 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.

Usage

 plotRes(x, which = 1, ...)

Arguments

x

an object of class 'drc'

which

The type of graph: can be 1 or 2

...

additional graphical arguments

Details

It mimicks the behaviour of the function plot.lm()

Author(s)

Andrea Onofri

Examples

library(statforbiology)
data(degradation)
mod <- nls(Conc ~ NLS.expoDecay(Time, a, k),
               data = degradation)
plot(mod, which = 2)

statforbiology documentation built on Sept. 9, 2025, 5:42 p.m.