Coerces data.frame to labeled.
# S3 method for data.frame
as.labeled(x, label, spec, check = TRUE, ...)
data.frame
a SAS-style label for x
a spec (specification) data.frame containing column labels
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.