reshape_toLong | R Documentation |
It is easy to convert wide data to long in this function. Be careful, id must be unique. prefix, suffix and var.names can be used together.
reshape_toLong(data, prefix = NULL, suffix = NULL, var.names = NULL)
data |
wide data |
prefix |
prefix of value variables |
suffix |
suffix of value variables |
var.names |
names of value variables, do.value will be created as the name of value column |
long data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.