Description Usage Arguments Value Examples
Essentially this is a wrapper around reshape2::melt.data.frame
that
is able to cbind
several melt operations.
1 2 | melt.parallel(x, id.vars, variable.name = "column", ...,
factorsAsStrings = TRUE)
|
x |
A data.frame |
id.vars |
vector of ID variable names |
variable.name |
Column name to use to store variables |
... |
Named arguments specifying the |
factorsAsStrings |
Control whether factors are converted to character when melted as measure variables. |
A qtag.long
object
1 2 3 4 5 | data(pocmajpb210)
melt.parallel(pb210,
id.vars=c("core", "depth"),
values=c("Pb210", "age", "sar"),
err=c("Pb210_sd", "age_sd", "sar_err"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.