Learn R Programming

QualInt (version 1.0.0)

print.qualint: Print a summary of a "qualint" object

Description

Similar to other print methods, this function prints a summary from an "qualint" object.

Usage

"print"(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

x
a qualint object
digits
significant digits in printout
...
not used. Additional print arguments

Value

A summary of the testing results (see above).

Details

This function prints the important information in a format that's easier for people to understand from a "qualint" object (see examples).

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

coef.qualint, plot.qualint

Examples

Run this code
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)
print(test1)

Run the code above in your browser using DataLab