plot.SimCi: Plot function for SimCi-objects

Description Usage Arguments Value Author(s) See Also Examples

Description

A plot of the results of SimCiDiff and SimCiRat, respectively.

Usage

1
2
## S3 method for class 'SimCi'
plot(x, xlim, xlab, ylim, ...)

Arguments

x

an object of class "SimCi" as obtained by calling SimCiDiff or SimCiRat

xlim

a numeric vector of length 2, giving the x coordinate range

xlab

a title for the x axis

ylim

a numeric vector of length 2, giving the y coordinate range

...

arguments to be passed to plot

Value

A plot of the confidence intervals of a "SimCi" object.

Author(s)

Christof Kluss and Mario Hasler

See Also

SimCiDiff, SimCiRat

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
# Example 1:
# Simultaneous confidence intervals related to a comparison of the groups
# B and H against the standard S, on endpoint Thromb.count, assuming unequal
# variances for the groups. This is an extension of the well-known Dunnett-
# intervals to the case of heteroscedasticity.

data(coagulation)

interv1 <- SimCiDiff(data=coagulation, grp="Group", resp="Thromb.count",
  type="Dunnett", base=3, alternative="greater", covar.equal=FALSE)
interv1
plot(interv1)

# Example 2:
# Simultaneous confidence intervals related to a comparisons of the groups
# B and H against the standard S, simultaneously on all endpoints, assuming
# unequal covariance matrices for the groups. This is an extension of the well-
# known Dunnett-intervals to the case of heteroscedasticity and multiple
# endpoints.

data(coagulation)

interv2 <- SimCiDiff(data=coagulation, grp="Group", resp=c("Thromb.count","ADP","TRAP"),
  type="Dunnett", base=3, alternative="greater", covar.equal=FALSE)
summary(interv2)
par(mfrow=c(1,3)); plot(interv2)

SimComp documentation built on Aug. 26, 2019, 5:03 p.m.