Description Usage Arguments Details Value See Also Examples
apply.format
Returns a data.frame with the values of each variable replaced by their corresponding formats (label and labels of the tibble).
1 | apply.format(tibble)
|
tibble |
a tibble object |
This function look for the attributes of the tibble object variable and apply labels and label to the corresponding variable.
A data.frame
1 2 3 4 5 6 7 8 | library(haven)
path1 <- system.file("examples", "clinical_sas.sas7bdat", package = "ClinReport")
path2 <- system.file("examples", "formats.sas7bcat", package = "ClinReport")
data=read_sas(path1,path2)
head(data)
head(apply.format(data))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.