R/class_design.R
as.data.frame.TrialDesignCharacteristics.RdReturns the TrialDesignCharacteristics as data frame.
# S3 method for class 'TrialDesignCharacteristics'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
niceColumnNamesEnabled = FALSE,
includeAllParameters = FALSE,
...
)A TrialDesignCharacteristics object.
Logical. If TRUE, nice looking column
names will be used; syntactic names (variable names) otherwise
(see make.names).
Logical. If TRUE, all available
parameters will be included in the data frame;
a meaningful parameter selection otherwise, default is FALSE.
Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed.
Returns a data.frame.
Each element of the TrialDesignCharacteristics is converted to a column in the data frame.
if (FALSE) { # \dontrun{
as.data.frame(getDesignCharacteristics(getDesignGroupSequential()))
} # }