Description Usage Arguments Value Author(s) Examples
View source: R/transformVarNames2.r
This function generates a one-column matrix, containing strings of assignments of the variables in a
data frame, to be used with with
in plyr, e.g.
1 | transformVarNames2(nams)
|
nams |
Variable names, typically |
One-column matrix of strings containing the assignments.
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
1 2 3 4 | labpar1 <- rnorm(50)
labor.param2 <- rgamma(50, 2, 1)
dat <- data.frame(labpar1, labor.param2)
transformVarNames2(colnames(dat))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.