Learn R Programming

reshape (version 0.8.9)

Flexibly Reshape Data

Description

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

Copy Link

Version

Install

install.packages('reshape')

Monthly Downloads

56,674

Version

0.8.9

License

MIT + file LICENSE

Maintainer

Last Published

April 12th, 2022

Functions in reshape (0.8.9)

as.data.frame.cast_matrix

as.data.frame.cast\_matrix
cast_matrix

Cast matrix.
all.vars.character

Get all variables
cast_parse_formula

Cast parse formula
as.data.frame.cast_df

as.data.frame.cast\_df
as.matrix.cast_df

as.matrix.cast\_df
as.matrix.cast_matrix

as.matrix.cast\_matrix
add.missing.levels

Add in any missing values
cast

Cast function
add.all.combinations

Add all combinations
colsplit

Split a vector into multiple columns
combine_factor

Combine factor levels
dim_names

Dimension names
melt_check

Melt check.
melt.data.frame

Melt a data frame
condense

Condense
clean.vars

Clean variables.
merge_all

Merge all
check_formula

Check formula
merge_recurse

Merge recursively
margin.vars

Margin variables
guess_value

Guess value
nulldefault

Null default
compute.margins

Compute margins
condense.df

Condense a data frame
funstofun

Aggregate multiple functions into a single function
French fries

Sensory data from a french fries experiment
stamp

Stamp
sparseby

Apply a Function to a Data Frame split by levels of indices
rescaler.default

Default rescaler
melt.array

Melt an array
expand.grid.df

Expand grid
melt

Melt
namerows

Name rows
prettyprint

Pretty print
expand

Expand
nested.by

Nested.by function
sort_df

Sort data frame
Smiths

Demo data describing the Smiths
reshape1

Casting workhorse.
melt.default

Default melt function
melt.list

Melt a list
Tips

Tipping data
melt.cast_df

Melt cast data.frames
melt.cast_matrix

Melt cast matrices
round_any

Round any
tidystamp

Tidy up stamped data set
updatelist

Update list
recast

Recast
rescaler.matrix

Rescale a matrix
str.cast_matrix

Print cast objects
rescaler.data.frame

Rescale a data frame
untable

Untable a dataset
rescaler

Rescaler
uniquedefault

Unique default
rename

Rename
strip.dups

Strip duplicates.