print.cgOneFactorSampleSizeTable {cg} | R Documentation |
Print a One Factor Sample Size Table object with some format options
Description
Print a cgOneFactorSampleSizeTable
object, which contains a table of
sample size estimates based on a cgOneFactorFit
object.
Usage
## S4 method for signature 'cgOneFactorSampleSizeTable'
print(x, title=NULL, endptname=NULL, ...)
Arguments
x |
A |
title |
The title for the table. If |
endptname |
The endpoint name, printed out with the table.
If |
... |
Additional arguments. Currently one is valid:
|
Details
The object is printed using a mix of cat
and print
calls. See
cgOneFactorSampleSizeTable
for details of the *.sstable
and other object slots.
Value
print.cgOneFactorSampleSizeTable
returns invisible
.
The main purpose is the side
effect of printing 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
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)
canine.samplesize <- samplesizeTable(canine.fit, direction="increasing",
model="olsonly",
mmdvec=c(10, 25, 50, 75, 100), display="none")
print(canine.samplesize)