Learn R Programming

DAAG (version 1.24)

onewayPlot: Display of One Way Analysis Results

Description

A line plot of estimates for unstructured comparison of factor levels

Usage

onewayPlot(obj, trtnam = "trt", 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)

trtnam

name of factor for which line plot is required

axisht

Axis height

xlim

Range on horizontal axis

xlab

Horizontal axis label

lsdht

Height adjustment parameter for display of LSD

hsdht

Height adjustment parameter for display of Tukey's HSD

textht

Height of text

oma

Outer margin area

angle

Text angle (in degrees)

alpha

Test size

Value

Estimates, labeled with level names, are set out along a line

Examples

Run this code
# NOT RUN {
rice.aov <- aov(ShootDryMass ~ trt, data=rice)
onewayPlot(obj=rice.aov)
# }

Run the code above in your browser using DataLab