print.rapids: Print an object of class "rapids".

print.rapidsR Documentation

Print an object of class "rapids".

Description

Print an object of class "rapids".

Usage

## S3 method for class 'rapids'
print(x, ...)

Arguments

x

An object of class "rapids"

Details

For simulated data, the following operating characteristics are printed: (i) the power for the overall test; (ii) the power for the sensitive group test; (iii) the power for the adaptive design; (iv) mean sensitivity and specificity of identifying the sensitive group; (v) mean response rate in the sensitive group on the treatment arm. For real data, the following operating characteristics are printed: (i) p-value for the overall test; (ii) p-value for the sensitivity group test; (iii) estimated response rate in the sensitive group on the treatment arm.

Author(s)

Svetlana Cherlin, James Wason

See Also

cvrs.plot function and print method.

Examples

#Analyse simulated data and print the results
#"cvrs" method
data(simdata)
sig = 0.05
group.prop.sig = 0.2
seed = 123
plotrs = T
method = "cvrs"
eta = NULL
R = NULL
G = NULL
simres.cvrs = analyse.simdata(simdata, sig, group.prop.sig, method, eta, R, G, seed, plotrs)
#Print the results
print(simres.cvrs)

svetlanache/rapids documentation built on Sept. 15, 2023, 7 a.m.