reshape_wide: Reshapes dataframes in wide format.

Description Usage Arguments Value Examples

View source: R/reshape-wide.R

Description

Reshapes dataframes in wide format.

Usage

1
reshape_wide(x, dimension = NULL, value = NULL, id = NULL)

Arguments

x

A dataframe.

dimension

String with the name of dimension column.

value

String with the name of value column.

id

String with the name of id column

Value

A dataframe in wide format.

Examples

1
2
3
data(iris)
iris_long <- reshape_long(iris, 1:4)
reshape_wide(iris_long)

jlugarrancho/garrancho documentation built on Nov. 30, 2017, 5:33 p.m.