reshape_data_internal: Reshape data frames for Pixiedust

reshape_data_internalR Documentation

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

Details

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

Author(s)

Benjamin Nutter


nutterb/pixiedust documentation built on Oct. 17, 2023, 9:20 a.m.