boxplot.TukeyC: Boxplot TukeyC Objects

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/boxplot.TukeyC.R

Description

S3 method to plot TukeyC objects.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'TukeyC'
boxplot(x,
          mean.type   = c('line', 'point', 'none'),
          xlab        = NULL,
          mean.col    = 'gray',
          mean.pch    = 1,
          mean.lwd    = 1,
          mean.lty    = 1,
          args.legend = NULL, ...)

Arguments

x

A TukeyC object.

mean.type

The type of mean must be ploted. O default is "line".

xlab

A label for the x axis.

mean.col

A vector of colors for the means representation.

mean.pch

A vector of plotting symbols or characters. Only if type are "point".

mean.lwd

Line width of mean.

mean.lty

Line type of mean. Only if type are "line".

args.legend

List of additional arguments to be passed to legend; The default is NULL.

...

Optional plotting parameters.

Details

The boxplot.TukeyC function is a S3 method to plot TukeyC objetcs. The difference to generic function is the Tukey inference under frame and the plot of means within box.

Author(s)

Jos<e9> Cl<e1>udio Faria (joseclaudio.faria@gmail.com)
Enio Jelihovschi (eniojelihovs@gmail.com)
Ivan Bezerra Allaman (ivanalaman@gmail.com)

References

Murrell, P. (2005) R Graphics. Chapman & Hall/CRC Press.

See Also

boxplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
##
## Examples: Completely Randomized Design (CRD)
## More details: demo(package='TukeyC')
##

library(TukeyC)
data(CRD1)

## From: formula
# Simple!
tk1 <- TukeyC(y ~ x,
              data=CRD1$dfm,
              which='x')
boxplot(tk1)

# A little more elaborate!
boxplot(tk1,
        mean.lwd=1.3,
        mean.col='red')

# A little more! 
boxplot(tk1,
        mean.lwd=1.3,
        mean.lty=2,
        mean.col='red',
        args.legend=list(x='bottomleft'))

# With point type!
boxplot(tk1,
        type='point')

# With other point
boxplot(tk1,
        type='point',
        mean.pch=3,
        mean.col='blue',
        args.legend=list(x='bottomleft'))

TukeyC documentation built on May 2, 2019, 8:50 a.m.