Learn R Programming

Kmisc (version 0.5.0)

unmelt_: Unmelt a Melted Data Frame

Description

This function undoes the melting process done by either reshape2::melt or melt_.

Usage

unmelt_(data, variable = "variable", value = "value")

Arguments

data
A data.frame.
variable
The index, or name, of the variable vector; analogous to the vector produced with name variable.name.
value
The value of the value vector; analogous to the vector produced with name value.name.