plot.interlab: Plot an interlab object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/interlab.R

Description

Plots the data and statistics of an interlaboratory study

Usage

1
2
3
## S3 method for class 'interlab'
plot(x, data=NULL, sd = TRUE, difflimits = FALSE,
     ylim = NULL, grouplabels = NULL, cex.text = 1.1, col = "blue", ...)

Arguments

x

an object of S3-class interlab

data

Data set containing the variables that appear in x$call$formula. Not needed if object contains the data.

sd

logical: should the standard deviations (within and betweengroups) be plotted?

difflimits

logical: should the standard deviations (within and betweengroups) be plotted?

ylim

Limits for the y axis.

grouplabels

Labels for the groups. Defaults to codesubstring(lev,1,3), where lev are the levels of the group factor

cex.text

Size of the text labelling the standard deviations

col

Color to be used for the group means and the respective standard deviation

...

Further arguments passed to plot.default

Value

none; graphics routine

Author(s)

Werner A. Stahel, ETH Zurich

See Also

interlabstats

Examples

1
2
3
4
5
6
data(d.perm)
dd <- d.perm[d.perm$section=="w.1",]
dd[dd$team=="E","perm.log"] <- dd[dd$team=="E","perm.log"] - 0.3
  ## otherwise, there is no between group variation
r.cl <- interlabstats(perm.log~team, data=dd)
plot(r.cl) 

qmrobust documentation built on May 2, 2019, 6:50 p.m.