Learn R Programming

pixiedust (version 0.9.4)

reshape_data_internal: Reshape data frames for Pixiedust

Description

Pixiedust reshapes data to have one row per cell in the table. This permits adjustments to be made to individual cells. These internal functions are provided to simplify the reshaping process. It is slower than using the tidyr functions `gather` and `spread` (or whatever their newer counterparts are), but keeps me off of other people's development schedules.

Usage

.make_dataframe_long(data)

Arguments

data

A data.frame

Author

Benjamin Nutter

Details

No validations are performed in these functions, and it is assumed that the input data set has the components it needs.