View source: R/output_functions.R
| print.gsearly | R Documentation |
Prints gsearly model details.
## S3 method for class 'gsearly'
print(x, digits=4, ...)
x |
A fitted gsearly object from |
digits |
The number of digits required for numeric output. |
... |
Further arguments passed to print (not currently implemented). |
A list containing the following components.
title |
Package name and version number. |
call |
Call used to create |
rdata |
See details in |
idata |
See details in |
power |
See details in |
# For 90 percent power (pow), a call to gsearlyModel provides a feasible design
fp <- c(0.0000,0.0010,0.0250)
tn <- c(0.4800,0.7200,0.9750)
rctdesign <- gsearlyModel(rmodel="dilin", trecruit=36, s=3, tfu=c(3,6,12),
tinterims=c(16,31), pow=0.8,
cmodel="exponential", sd=20, rho=0.75, theta=8, fp=fp, tn=tn)
rctdesign
print(rctdesign)
str(print(rctdesign))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.