Learn R Programming

MAMS (version 3.0.0)

print.MAMS: Generic print function for class MAMS.

Description

Generic print function for class MAMS.

Usage

# S3 method for MAMS
print(x, digits = max(3, getOption("digits") - 4), ...)

Value

Text output.

Arguments

x

An output object of class MAMS

digits

Number of significant digits to be printed.

...

Further arguments passed to or from other methods.

Author

Thomas Jaki, Dominic Magirr, Philip Pallmann

Details

print produces a brief summary of an object from class MAMS including boundaries and requires sample size if initially requested.

References

Magirr D, Jaki T, Whitehead J (2012) A generalized Dunnett test for multi-arm multi-stage clinical studies with treatment selection. Biometrika, 99(2), 494-501. Stallard N, Todd S (2003) Sequential designs for phase III clinical trials incorporating treatment selection. Statistics in Medicine, 22(5), 689-703. Magirr D, Stallard N, Jaki T (2014) Flexible sequential designs for multi-arm clinical trials. Statistics in Medicine, 33(19), 3269-3279.

See Also

mams, stepdown.mams.

Examples

Run this code
# \donttest{
# 2-stage design with triangular boundaries
res <- mams(K=4, J=2, alpha=0.05, power=0.9, r=1:2, r0=1:2, 
             p=0.65,p0=0.55,
             ushape="triangular", lshape="triangular", nstart=30)

print(res)
# }

Run the code above in your browser using DataLab