This function simply streamlines the process of creating diagnostic plots with ggplot

diagnostic(data., x., y.)

Arguments

data.

data frame

x.

x-axis

y.

y-axis

Value

a residual plot and QQ plot

Examples

diagnostic(iris, Sepal.Length, Sepal.Width)