Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expand-kx

Expand


Description

Expand out condensed data frame.

Usage

expand(data)

Arguments

data

condensed data frame

Details

If aggregating function supplied to condense returns multiple values, this function "melts" it again, creating a new column called result\_variable.

If the aggregating funtion is a named vector, then those names will be used, otherwise will be number X1, X2, ..., Xn etc.

Author(s)

Hadley Wickham <h.wickham@gmail.com>


reshape

Flexibly Reshape Data

v0.8.8
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.