View source: R/unstackDataframe.R
unstackDataframe | R Documentation |
Creates a new dataframe by "unstack"ing columns in the
input dataframe by factor level combinations in a set of other columns. Uses
getFactorLevels
to find the unique factor level combinations from
the set of dataaframe columns identified as factors.
unstackDataframe(
dfr,
unstackCols = NULL,
factorCols = NULL,
dropCols = NULL,
debug = TRUE
)
dfr |
|
unstackCols |
|
factorCols |
|
dropCols |
|
debug |
|
None.
dataframe with unstacked columns and factor levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.