Description Usage Arguments Details Value Note Author(s) See Also Examples
Show a cgPairedDifferenceSampleSizeTable object, which contains a table of
sample size estimates based on a cgPairedDifferenceFit
object.
1 2 | ## S4 method for signature 'cgPairedDifferenceSampleSizeTable'
show(object)
|
object |
A |
The object is shown using showDefault. See
cgPairedDifferenceSampleSizeTable for details of the object
slots.
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.
Contact cg@billpikounis.net for bug reports, questions, concerns, and comments.
Bill Pikounis [aut, cre, cph], John Oleynick [aut], Eva Ye [ctb]
cgPairedDifferenceSampleSizeTable, showDefault
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.