View source: R/class_design_set.R
as.data.frame.TrialDesignSet | R Documentation |
Returns the TrialDesignSet
as data frame.
## S3 method for class 'TrialDesignSet'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
niceColumnNamesEnabled = FALSE,
includeAllParameters = FALSE,
addPowerAndAverageSampleNumber = FALSE,
theta = seq(-1, 1, 0.02),
nMax = NA_integer_,
...
)
x |
A |
niceColumnNamesEnabled |
Logical. If |
includeAllParameters |
Logical. If |
addPowerAndAverageSampleNumber |
If |
theta |
A vector of standardized effect sizes (theta values), default is a sequence from -1 to 1. |
nMax |
The maximum sample size. Must be a positive integer of length 1. |
... |
Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed. |
Coerces the design set to a data frame.
Returns a data.frame
.
## Not run:
designSet <- getDesignSet(design = getDesignGroupSequential(), alpha = c(0.01, 0.05))
as.data.frame(designSet)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.