Remove variable labels.

remove_labels(.data)

Arguments

.data

Data frame

Value

The original data frame with variable label attributes removed.

Examples

colon_s %>%
  remove_labels()
#> # A tibble: 929 × 32
#>       id rx        sex   age obstruct perfor adhere nodes status differ extent
#>    <dbl> <fct>   <dbl> <dbl>    <dbl>  <dbl>  <dbl> <dbl>  <dbl>  <dbl>  <dbl>
#>  1     1 Lev+5FU     1    43       NA      0      0     5      1      2      3
#>  2     2 Lev+5FU     1    63        0      0      0     1      0      2      3
#>  3     3 Obs         0    71        0      0      1     7      1      2      2
#>  4     4 Lev+5FU     0    66        1      0      0     6      1      2      3
#>  5     5 Obs         1    69        0      0      0    22      1      2      3
#>  6     6 Lev+5FU     0    57        0      0      0     9      1      2      3
#>  7     7 Lev         1    77        0      0      0     5      1      2      3
#>  8     8 Obs         1    54        0      0      0     1      0      2      3
#>  9     9 Lev         1    46        0      0      1     2      0      2      3
#> 10    10 Lev+5FU     0    68        0      0      0     1      0      2      3
#> # ℹ 919 more rows
#> # ℹ 21 more variables: surg <dbl>, node4 <dbl>, time <dbl>, sex.factor <fct>,
#> #   rx.factor <fct>, obstruct.factor <fct>, perfor.factor <fct>,
#> #   adhere.factor <fct>, differ.factor <fct>, extent.factor <fct>,
#> #   surg.factor <fct>, node4.factor <fct>, status.factor <fct>,
#> #   age.factor <fct>, loccomp <dbl>, loccomp.factor <fct>, time.years <dbl>,
#> #   mort_5yr <fct>, age.10 <dbl>, mort_5yr.num <dbl>, hospital <fct>