Learn R Programming

rpact (version 1.0.0)

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 = TRUE, 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.