An (overlayed) residuals barplot
A plotting function which displays a barplot of the (standardized) residuals. The bars are colour-coded with heat colours proportional to the residual value. As default, the residuals are displayed together with the points of the fitted PCR curve.
resplot(object, overlay = TRUE, ylim = NULL, ...)
object |
an object of class 'pcrfit. |
overlay |
logical. If |
ylim |
graphical ylim values for tweaking the scale and position of the barplot overlay. |
... |
any other parameters to be passed to |
If replicate data is present in the fitted curve, the residuals from all replicates i, j are summed up from the absolute values: Y_i = ∑{|\hat{\varepsilon}_{i, j}|}.
A plot as described above.
Andrej-Nikolai Spiess
## Create l5 model and plot ## standardized residuals. m1 <- pcrfit(reps, 1, 2, l5) resplot(m1) ## Not run: ## Using replicates. m2 <- pcrfit(reps, 1, 2:5, l5) resplot(m2) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.