show.cgOneFactorSampleSizeTable {cg}R Documentation

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 signature 'cgOneFactorSampleSizeTable'
show(object)

Arguments

object

A cgOneFactorSampleSizeTable object, typically created by
samplesizeTable.cgOneFactorFit.

Details

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

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.

Note

Contact cg@billpikounis.net for bug reports, questions, concerns, and comments.

Author(s)

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

See Also

cgOneFactorSampleSizeTable, showDefault

Examples

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

[Package cg version 1.0-3 Index]