transformData {clinDataReview} | R Documentation |
Transform data.
Description
Transform data from long to wide format.
This function converts formats with the stats::reshape
function.
Usage
transformData(data, transformations, verbose = FALSE, labelVars = NULL)
Arguments
data |
Data.frame with input data to transform. |
transformations |
Transformations (or list of those) as a list with:
|
verbose |
Logical, if TRUE (FALSE by default) progress messages are printed in the current console. For the visualizations, progress messages during download of subject-specific report are displayed in the browser console. |
labelVars |
Named character vector containing variable labels. |
Value
A data.frame in wide format.
Author(s)
Laure Cougnaud