Description Usage Arguments Details See Also
Coerces data.frame to labeled.
1 2 | ## S3 method for class 'data.frame'
as.labeled(x, label, spec, check = TRUE, ...)
|
x |
data.frame |
label |
a SAS-style label for x |
spec |
a spec (specification) data.frame containing column labels |
check |
should the data.frame be required to match its specification? |
... |
ignored |
Positive numeric values less than 1e-70 are coerced to zero to solve SAS encoding issues.
Column names are forced unique and forced SAS-compliant with link{makesasnames}
.
Labels are added to the data.frame column names, and to the data.frame itself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.