stackDF: Stack a data.frame

Description Usage Arguments Examples

View source: R/stackDF.R

Description

Stack a data.frame object with a given column index.

Usage

1
stackDF(df, index = 1)

Arguments

df

a data.frame object with at least 3 columns to be stacked.

index

a single integer to specify the column that serves as the index for stacking.

Examples

1
2
3
4
## Not run: 
stackDF(df, index = 1)

## End(Not run)

wayneliuq/wmisc documentation built on Dec. 23, 2021, 5:08 p.m.