widen: Widen data frame

Description Usage Arguments Value

View source: R/widen.R

Description

Split a data frame by a factor or character column and piece together a wide data frame by arranging socalled widening columns side by side.

Usage

1
widen(x, split.col, widen.cols)

Arguments

x

[data.frame]
Data frame.

split.col

[character(1)]
Column name of column used for splitting.

widen.cols

[character]
Column name(s) of column(s) which shall be aligned beside each other.

Value

[data.frame]


jakobbossek/tblutils documentation built on March 13, 2021, 12:47 p.m.