Description Usage Arguments Value Author(s) Examples
View source: R/transformVarNames.r
This function generates a one-column matrix, containing strings of assignments of the variables in a data frame.
1 | transformVarNames(dat, name)
|
dat |
Dataframe. |
name |
Name of data frame. |
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)
transformVarNames(dat, name = "dat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.