formalize.data.frame | R Documentation |
Formalizes data.frame. Replaces column names with labels, where present. Stores column name as 'alias' attribute. Deprecated in favor of yamlet::alias().
## S3 method for class 'data.frame'
formalize(x, ...)
x |
data.frame |
... |
passed arguments |
formalized data.frame
Other formalize:
formalize()
x <- data.frame(x = 1:10, y = 1:10, z = 1:10)
attr(x$x, 'label') <- 'Independent Value'
attr(x$y, 'label') <- 'Dependent Value'
x
formalize(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.