Rdocumentation
powered by
Learn R Programming
reshape (version 0.8.10)
Flexibly Reshape Data
Description
Flexibly restructure and aggregate data using just two functions: melt and cast.
Copy Link
Link to current version
Version
Version
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.6.3
0.6.2
0.6.1
0.5
0.4
Install
install.packages('reshape')
Monthly Downloads
52,146
Version
0.8.10
License
MIT + file LICENSE
Maintainer
Hadley Wickham
Last Published
June 19th, 2025
Functions in reshape (0.8.10)
Search all functions
combine_factor
Combine factor levels
condense.df
Condense a data frame
clean.vars
Clean variables.
French fries
Sensory data from a french fries experiment
check_formula
Check formula
melt_check
Melt check.
melt.data.frame
Melt a data frame
melt.default
Default melt function
melt.list
Melt a list
funstofun
Aggregate multiple functions into a single function
nulldefault
Null default
dim_names
Dimension names
rescaler.default
Default rescaler
rescaler.matrix
Rescale a matrix
condense
Condense
melt
Melt
melt.cast_matrix
Melt cast matrices
melt.cast_df
Melt cast data.frames
prettyprint
Pretty print
Smiths
Demo data describing the Smiths
guess_value
Guess value
sparseby
Apply a Function to a Data Frame split by levels of indices
namerows
Name rows
margin.vars
Margin variables
nested.by
Nested.by function
stamp
Stamp
sort_df
Sort data frame
melt.array
Melt an array
rename
Rename
round_any
Round any
recast
Recast
reshape1
Casting workhorse.
tidystamp
Tidy up stamped data set
Tips
Tipping data
uniquedefault
Unique default
merge_all
Merge all
merge_recurse
Merge recursively
untable
Untable a dataset
updatelist
Update list
rescaler.data.frame
Rescale a data frame
str.cast_matrix
Print cast objects
rescaler
Rescaler
strip.dups
Strip duplicates.
add.all.combinations
Add all combinations
all.vars.character
Get all variables
as.matrix.cast_matrix
as.matrix.cast_matrix
add.missing.levels
Add in any missing values
as.data.frame.cast_df
as.data.frame.cast_df
compute.margins
Compute margins
as.data.frame.cast_matrix
as.data.frame.cast_matrix
cast
Cast function
expand
Expand
as.matrix.cast_df
as.matrix.cast_df
cast_parse_formula
Cast parse formula
colsplit
Split a vector into multiple columns
cast_matrix
Cast matrix.
expand.grid.df
Expand grid