Learn R Programming

DAAG (version 0.37)

oneway.plot: Display of One Way Analysis Results

Description

A line plot of means for unstructured comparison.

Usage

oneway.plot(obj = rice.aov, axisht = 6, xlim = NULL, xlab = NULL,
    lsdht = 1.5, hsdht = 0.5, textht = axisht - 2.5, oma = rep(1,
        4), angle = 80, alpha = 0.05)

Arguments

obj
One way analysis of variance object (from aov)
axisht
Axis height
xlim
Range on horizontal axis
xlab
Horizontal axis label
lsdht
Height adjustment parameter for LSD comparison plot
hsdht
Height adjustment parameter for Tukey's HSD comparison plot
textht
Height of text
oma
Outer margin area
angle
Text angle (in degrees)
alpha
Test size

Value

  • A line plot

Examples

Run this code
data(rice)
rice.aov <- aov(ShootDryMass ~ trt, data=rice)
oneway.plot(obj=rice.aov)

Run the code above in your browser using DataLab