Learn R Programming

cg (version 1.0-4)

show.cgOneFactorSampleSizeTable: Show a One Factor Sample Size Table object from the cg package

Description

Show a cgOneFactorSampleSizeTable object, which contains a table of sample size estimates based on a cgOneFactorFit object.

Usage

# S4 method for cgOneFactorSampleSizeTable
show(object)

Value

show.cgOneFactorSampleSizeTable returns

invisible. The main purpose is the side effect of printing the whole object to the current output connection, which is typically the console.

Arguments

object

A cgOneFactorSampleSizeTable object, typically created by
samplesizeTable.cgOneFactorFit.

Author

Bill Pikounis [aut, cre, cph], John Oleynick [aut], Eva Ye [ctb]

Details

The object is shown using showDefault. See cgOneFactorSampleSizeTable for details of the object slots.

See Also

cgOneFactorSampleSizeTable, showDefault

Examples

Run this code
data(canine)
canine.data <- prepareCGOneFactorData(canine, format="groupcolumns",
                                      analysisname="Canine",
                                      endptname="Prostate Volume",
                                      endptunits=expression(plain(cm)^3),
                                      digits=1, logscale=TRUE, refgrp="CC")
canine.fit <- fit(canine.data)
show(samplesizeTable(canine.fit, direction="increasing", 
                     mmdvec=c(25, 50, 75, 100), display="none"))

Run the code above in your browser using DataLab