reshape v0.8.7


Monthly downloads



by Hadley Wickham

Flexibly Reshape Data

Flexibly restructure and aggregate data using just two functions: melt and cast.

Functions in reshape

Name Description
cast_matrix Cast matrix.
cast_parse_formula Cast parse formula\_matrix
as.matrix.cast_df as.matrix.cast\_df
all.vars.character Get all variables\_df
add.all.combinations Add all combinations
add.missing.levels Add in any missing values
as.matrix.cast_matrix as.matrix.cast\_matrix
cast Cast function
condense Condense
dim_names Dimension names
guess_value Guess value
expand.grid.df Expand grid
expand Expand
melt Melt
melt.array Melt an array
colsplit Split a vector into multiple columns
combine_factor Combine factor levels
melt_check Melt check. Melt a data frame
check_formula Check formula
clean.vars Clean variables.
melt.cast_df Melt cast data.frames
melt.cast_matrix Melt cast matrices
namerows Name rows function
Smiths Demo data describing the Smiths
sort_df Sort data frame
uniquedefault Unique default
untable Untable a dataset
margin.vars Margin variables
melt.default Default melt function
melt.list Melt a list
rescaler.default Default rescaler
rescaler.matrix Rescale a matrix
str.cast_matrix Print cast objects
strip.dups Strip duplicates.
merge_all Merge all
merge_recurse Merge recursively
sparseby Apply a Function to a Data Frame split by levels of indices
stamp Stamp
updatelist Update list
compute.margins Compute margins
condense.df Condense a data frame
French fries Sensory data from a french fries experiment
funstofun Aggregate multiple functions into a single function
recast Recast
rename Rename
reshape1 Casting workhorse.
nulldefault Null default
prettyprint Pretty print
rescaler Rescaler Rescale a data frame
round_any Round any
tidystamp Tidy up stamped data set
Tips Tipping data
No Results!

Last month downloads


License MIT + file LICENSE
LazyData true
NeedsCompilation yes
Packaged 2017-08-04 16:36:57 UTC; hadley
Repository CRAN
Date/Publication 2017-08-06 16:08:19 UTC
imports plyr
depends R (>= 2.6.1)

Include our badge in your README