Coerce Power And Average Sample Number Result to a Data Frame
Source:R/class_design_power_and_asn.R
as.data.frame.PowerAndAverageSampleNumberResult.Rd
Returns the PowerAndAverageSampleNumberResult
as data frame.
Usage
# S3 method for class 'PowerAndAverageSampleNumberResult'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
niceColumnNamesEnabled = FALSE,
includeAllParameters = FALSE,
...
)
Arguments
- x
A
PowerAndAverageSampleNumberResult
object.- niceColumnNamesEnabled
Logical. If
TRUE
, nice looking column names will be used; syntactic names (variable names) otherwise (seemake.names
).- includeAllParameters
Logical. If
TRUE
, all available parameters will be included in the data frame; a meaningful parameter selection otherwise, default isFALSE
.- ...
Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed.
Value
Returns a data.frame
.
Details
Coerces the PowerAndAverageSampleNumberResult
object to a data frame.
Examples
if (FALSE) { # \dontrun{
data <- as.data.frame(getPowerAndAverageSampleNumber(getDesignGroupSequential()))
head(data)
dim(data)
} # }