print.pred.int: Print objects of class 'pred.int' for predicted interval...

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

Description

Print objects of class pred.int for predicted interval plots

Usage

1
2
3
## S3 method for class 'pred.int'
print(x, pi.count = 8, 
     digits = max(3, getOption("digits") - 3), ...)

Arguments

x

Object of class pred.int to print

pi.count

Number of predicted intervals to print. Default is 8.

digits

Number of digits to print. Default is max(3, getOption("digits")-3)

...

Additional arguments to pass to print.default

Value

Returns a copy of the object passed

Author(s)

Daniel G. Muenz, Ray Griner rgriner@sdac.harvard.edu, Huichao Chen, Lijuan Deng, Sachiko Miyahara, and Scott R. Evans evans@sdac.harvard.edu, with contributions from Lingling Li, Hajime Uno, and Laura M. Smeaton.

See package documentation for affiliations and contributions.

References

Evans SR, Li L, Wei LJ, "Data Monitoring in Clinical Trials Using Prediction", Drug Information Journal, 41:733-742, 2007.

Li L, Evans SR, Uno H, Wei LJ. "Predicted Interval Plots: A Graphical Tool for Data Monitoring in Clinical Trials", Statistics in Biopharmaceutical Research, 1:4:348-355, 2009.

See Also

PIPS

pred.int

plot.pred.int

Examples

1
2
3
4
5
6
7
8
9
# Make some fake data
myY<-c(rep(1,times=20),rep(0,times=80),rep(1,times=25),rep(0,times=25))
myGroup<-c(rep('A',100),rep('B',50))

# Run the programs
pips <- pred.int(y=myY, group=myGroup, N=c(200,100), 
                 data.type="binary", iters=100)
print(pips)
plot(pips)

PIPS documentation built on May 1, 2019, 10:37 p.m.