apply_labels: Apply Hmisc-brand labels to one or more variables in a...

Description Usage Arguments Value Examples

View source: R/trahelyk.R

Description

Apply Hmisc-brand labels to one or more variables in a dataframe or tibble

Usage

1

Arguments

...

Name-value pairs of column names and labels

df

A data frame or tibble.

Value

A data frame or tibble.

Examples

1
2
3
4
5
foo <- tibble(a = c(1,2,3),
              b = c(4, 5,6)) %>%
  apply_labels(a = "A", 
               b = "B"))
label(foo)

trahelyk/trahelyk_pkg documentation built on June 14, 2021, 9:25 p.m.