| show.cgPairedDifferenceSampleSizeTable {cg} | R Documentation |
Show a Paired Difference Sample Size Table object from the cg package
Description
Show a cgPairedDifferenceSampleSizeTable object, which contains a table of
sample size estimates based on a cgPairedDifferenceFit
object.
Usage
## S4 method for signature 'cgPairedDifferenceSampleSizeTable'
show(object)
Arguments
object |
A |
Details
The object is shown using showDefault. See
cgPairedDifferenceSampleSizeTable for details of the object
slots.
Value
show.cgPairedDifferenceSampleSizeTable 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
cgPairedDifferenceSampleSizeTable, showDefault
Examples
data(anorexiaFT)
anorexiaFT.data <- prepareCGPairedDifferenceData(anorexiaFT, format="groupcolumns",
analysisname="Anorexia FT",
endptname="Weight",
endptunits="lbs",
expunitname="Patient",
digits=1,
logscale=TRUE)
anorexiaFT.fit <- fit(anorexiaFT.data)
## Recall the interest is in increased weight for the anorexia FT
## (family treatment) group of patients
show(samplesizeTable(anorexiaFT.fit, direction="increasing",
mmdvec=c(5, 10, 15, 20), display="none"))
[Package cg version 1.0-3 Index]