Learn R Programming

rpact (version 3.4.0)

getLongFormat: Get Long Format

Description

Returns the specified dataset as a data.frame in so-called long format.

Usage

getLongFormat(dataInput)

Arguments

Value

A data.frame will be returned.

Details

In the long format (narrow, stacked), the data are presented with one column containing all the values and another column listing the context of the value, i.e., the data for the different groups are in one column and the dataset contains an additional "group" column.

See Also

getWideFormat() for returning the dataset as a data.frame in wide format.