MainFitPlot: Diagnostic plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MainFitPlot.R

Description

Plots residuals vs fitted values after fitting of main effects.

Usage

1
MainFitPlot(fit, xlab = "Fitted values", ylab = "Residuals", sd.fit = TRUE, main = "Residuals vs Fitted", ...)

Arguments

fit

a fit from lmmain, rlmmain or similar

xlab

label for x-axis

ylab

label for y-axis

sd.fit

logical, should the local estimator of the standard deviation be plotted

main

main title for the plot

...

arguments to be passed on to the plot function

Value

a plot

Author(s)

Elin Axelsson

See Also

locfit

Examples

1
2
3
4
5
6
7
## simulated data

fitted.value = rnorm(100,2,1)
residuals = rnorm(100,0,1)
fit = list(fitted.value=fitted.value, residuals = residuals)
class(fit) = "lm"
MainFitPlot(fit)

coRNAi documentation built on Nov. 17, 2017, 11:14 a.m.