plot.qualint: Plot the interval based graph from a "qualint" object

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

Description

Produce an interval based graph from an "qualint" object. Only available when test = "IBGA". Produce an error signal if test = "LRT".

Usage

1
2
## S3 method for class 'qualint'
plot(x, ...)

Arguments

x

a qualint object

...

additional coef arguments

Details

Differect scales are used here for different types of responses. For continous one, the mean differece is plotted. For binary one, one from the risk difference, relative risk or odds ratio will be plotted, depending on user's choice. For survival responses, the hazard ratio is plotted.

Author(s)

Lixi Yu, Eun-Young Suh, Guohua (James) Pan
Maintainer: Lixi Yu lixi-yu@uiowa.edu

References

Gail and Simon (1985), Testing for qualitative interactions between treatment effects and patient subsets, Biometrics, 41, 361-372.

Pan and Wolfe (1993), Tests for generalized problems of detecting qualitative interaction, Technical Report No. 526, Department of Statistics, The Ohio State University.

Pan and Wolfe (1997), Test for qualitative interaction of clinical significance, Statistics in Medicine, 16, 1645-1652.

See Also

print.qualint, coef.qualint

Examples

1
2
3
4
5
6
7
ynorm <- rnorm(300)
trtment <- sample(c(0, 1), 300, prob = c(0.4, 0.6),
                  replace = TRUE)
subgrp <- sample(c(0, 1, 2), 300, prob = c(1/3, 1/3, 1/3),
                 replace = TRUE)
test1 <- qualint(ynorm, trtment, subgrp)
plot(test1)

QualInt documentation built on May 1, 2019, 11 p.m.