Learn R Programming

MPV (version 1.64)

GANOVA: Graphical ANOVA Plot

Description

Graphical analysis of one-way ANOVA data. It allows visualization of the usual F-test.

Usage

GANOVA(dataset, var.equal=TRUE, type="QQ", center=TRUE, shift=0)

Value

A QQ-plot or a histogram and rugplot

Arguments

dataset

A data frame, whose first column must be the factor variable and whose second column must be the response variable.

var.equal

Logical: if TRUE, within-sample variances are assumed to be equal

type

"QQ" or "hist"

center

if TRUE, center and scale the means to match the scale of the errors

shift

on the histogram, lift the points representing the means above the horizontal axis by this amount.

Author

W. John Braun and Sarah MacQueen