apply.format: Descriptive "Quantitative" statistics (mean, SD, median...)...

Description Usage Arguments Details Value See Also Examples

View source: R/apply.format.R

Description

apply.format

Returns a data.frame with the values of each variable replaced by their corresponding formats (label and labels of the tibble).

Usage

1
apply.format(tibble)

Arguments

tibble

a tibble object

Details

This function look for the attributes of the tibble object variable and apply labels and label to the corresponding variable.

Value

A data.frame

See Also

tibble

Examples

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))

jfrancoiscollin/ClinReport documentation built on Sept. 20, 2020, 7:33 a.m.