qq4res | R Documentation |
Producing a side-by-side QQ plot of the residuals against standard normal quantiles.
qq4res(object, xlabel = 'Theoretical Quantiles', ylabel = 'Residuals', lgd = NULL)
object |
object of class curveFit. |
xlabel, ylabel |
plot labels. |
lgd |
legend of the plot |
The empirical quantiles are plotted against the quantiles of a standard normal distribution. If the residuals are from a normal distribution with mean 0, the points tend to fall along the reference line that has an intercept of 0 and a slope equal to the estimated standard deviation.
## example 1 # x <- antibiotox$PAR$x expr <- antibiotox$PAR$y obj <- curveFit(x, expr, eq = 'Logit', rtype = 'quantal', param = c(26, 4), effv = c(0.05, 0.5)) qq4res(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.