Learn R Programming

rpact (version 4.1.0)

as.data.frame.AnalysisResults: Coerce AnalysisResults to a Data Frame

Description

Returns the AnalysisResults object as data frame.

Usage

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

Value

Returns a data.frame.

Arguments

x

An AnalysisResults object created by getAnalysisResults().

...

Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed.

niceColumnNamesEnabled

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

Details

Coerces the analysis results to a data frame.