melt.default: Melt a vector. For vectors, makes a column of a data frame

Description Usage Arguments See Also

View source: R/melt.r

Description

Melt a vector. For vectors, makes a column of a data frame

Usage

1
2
## Default S3 method:
melt(data, ..., na.rm = FALSE, value.name = "value")

Arguments

data

vector to melt

...

further arguments passed to or from other methods.

na.rm

Should NA values be removed from the data set? This will convert explicit missings to implicit missings.

value.name

name of variable used to store values

See Also

melt, cast

Other melt methods: melt.array(), melt.data.frame(), melt.list()


hadley/reshape documentation built on March 16, 2021, 9:38 a.m.