Description Usage Arguments Details Value Author(s) References Examples
Turn the names and values of all pending variables into two columns. These variables are inversely selected inside function (cols) and waiting to be melted. After melting, the data format changes from wide to long.
1 |
data |
A data frame to melt, from the column |
cols |
Inversely selected columns inside function, except which are columns waiting to be melted. |
This function (dataprep::melt) will be used when reshape2 is not installed.
A long-format data frame from its original wide format.
Chun-Sheng Liang <liangchunsheng@lzu.edu.cn>
1. Example data is from https://smear.avaa.csc.fi/download. It includes particle number concentrations in SMEAR I Varrio forest.
2. Wickham, H. 2007. Reshaping data with the reshape package. Journal of Statistical Software, 21(12):1-20.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.