rpact: Confirmatory Adaptive Clinical Trial Design and Analysis


FrameSet_as.matrix {rpact}R Documentation

Coerce Frame Set to a Matrix

Description

Returns the FrameSet as matrix.

Usage

## S3 method for class 'FieldSet'
as.matrix(x, ..., enforceRowNames = TRUE, niceColumnNamesEnabled = TRUE)

Arguments

x

A FieldSet object.

...

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

enforceRowNames

If TRUE, row names will be created depending on the object type, default is TRUE.

niceColumnNamesEnabled

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

Details

Coerces the frame set to a matrix.

Value

Returns a matrix.


[Package rpact version 3.0.0 Index | www.rpact.org]