melt.list
(Package: reshape2) :
Melt a list by recursively melting each component.
Melt a list by recursively melting each component.
● Data Source:
CranContrib
● Keywords: manip
● Alias: melt.list
●
0 images
|
melt.data.frame
(Package: reshape2) :
Melt a data frame into form suitable for easy casting.
You need to tell melt which of your variables are id variables, and which are measured variables. If you only supply one of id.vars and measure.vars , melt will assume the remainder of the variables in the data set belong to the other. If you supply neither, melt will assume factor and character variables are id variables, and all others are measured.
● Data Source:
CranContrib
● Keywords: manip
● Alias: melt.data.frame
●
0 images
|
cast
(Package: reshape2) :
Cast functions
Use acast or dcast depending on whether you want vector/matrix/array output or data frame output. Data frames can have at most two dimensions.
● Data Source:
CranContrib
● Keywords: manip
● Alias: acast, cast, dcast
●
0 images
|
This code is conceptually similar to as.data.frame.table
● Data Source:
CranContrib
● Keywords: manip
● Alias: melt.array, melt.matrix, melt.table
●
0 images
|
colsplit
(Package: reshape2) :
Split a vector into multiple columns
Useful for splitting variable names that a combination of multiple variables. Uses type.convert to convert each column to correct type, but will not convert character to factor.
● Data Source:
CranContrib
● Keywords: manip
● Alias: colsplit
●
0 images
|
There are a two ways to specify a casting formula: either as a string, or a list of quoted variables. This function converts the former to the latter.
● Data Source:
CranContrib
● Keywords:
● Alias: parse_formula
●
0 images
|
melt_check
(Package: reshape2) :
Check that input variables to melt are appropriate.
If id.vars or measure.vars are missing, melt_check will do its best to impute them. If you only supply one of id.vars and measure.vars, melt will assume the remainder of the variables in the data set belong to the other. If you supply neither, melt will assume discrete variables are id variables and all other are measured.
● Data Source:
CranContrib
● Keywords:
● Alias: melt_check
●
0 images
|
Melt a vector. For vectors, makes a column of a data frame
● Data Source:
CranContrib
● Keywords: manip
● Alias: melt.default
●
0 images
|
add_margins
(Package: reshape2) :
Add margins to a data frame.
Rownames are silently stripped. All margining variables will be converted to factors.
● Data Source:
CranContrib
● Keywords:
● Alias: add_margins
●
0 images
|
melt
(Package: reshape2) :
Convert an object into a molten data frame.
This the generic melt function. See the following functions for the details about different data structures:
● Data Source:
CranContrib
● Keywords: manip
● Alias: melt
●
0 images
|