[R] [R-pkgs] Reshape package: new version 0.7

hadley wickham h.wickham at gmail.com
Sun Aug 6 16:53:43 CEST 2006

Reshape 0.7

Reshape is an R package for flexibly restructuring and aggregating
data. It is inspired by Excel's pivot tables, and it  makes it very
easy to view your data the way you want. The reshape package (along
with ggplot) received the John Chambers Award for Statistical
Computing. You can find out more at http://had.co.nz/reshape.

Reshape (hopefully) makes it easy to do what you have been struggling
to do with tapply, by, aggregate, xtabs, apply and summarise.  It is
also useful for getting your data into the correct structure for
lattice or ggplot plots.

This new version of reshape substantially expands the type of output
you can cast into.  You can now make nested lists, cast(m, a ~ b | c)
or cast(m, a ~ b | c + d), and multidimensional arrays, cast(m, a ~ b
~ c) (or any combination of the two).  See the examples in ?cast.

What else is new?:

 * iapply, an idempotent apply function that returns results with the
same dimensionality as the input (very useful in conjunction with
sweep and multidimensional arrays)

 * rescaler, a function to rescale data.frames variable by variable
using a range of different scaling methods

 * combine_factor and reorder_factor to make it easier to combine and
reorder factor levels

 * bug fixes!

All feedback is welcomed, and if you are struggling with reshaping
your data and the reshape package isn't helping, please let me know.



R-packages mailing list
R-packages at stat.math.ethz.ch

More information about the R-help mailing list