print.gsearly: Print a gsearly model

View source: R/output_functions.R

print.gsearlyR Documentation

Print a gsearly model

Description

Prints gsearly model details.

Usage

## S3 method for class 'gsearly'
print(x, digits=4, ...)

Arguments

x

A fitted gsearly object from gsearlyModel or gsearlyUser.

digits

The number of digits required for numeric output.

...

Further arguments passed to print (not currently implemented).

Value

A list containing the following components.

title

Package name and version number.

call

Call used to create mod.

rdata

See details in gsearlyModel or gsearlyUser.

idata

See details in gsearlyModel or gsearlyUser.

power

See details in gsearlyModel or gsearlyUser.

Examples


 # 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))


gsearly documentation built on July 10, 2026, 5:09 p.m.