Learn R Programming

rpact (version 2.0.6)

TrialDesign_as.data.frame: Coerce TrialDesign to a Data Frame

Description

Returns the TrialDesign as data frame.

Usage

# S3 method for TrialDesign
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  niceColumnNamesEnabled = FALSE,
  includeAllParameters = FALSE,
  ...
)

Arguments

niceColumnNamesEnabled

logical. If TRUE, nice looking names will be used; syntactic names otherwise (see make.names).

includeAllParameters

logical. If TRUE, all parameters will be included; a meaningful parameter selection otherwise.

Details

Each element of the TrialDesign is converted to a column in the data frame.