Labels to column names
labels_to_column(.data)
.data
Data frame or tibble.
Data frame or tibble
library(dplyr) colon_s %>% select(sex.factor) %>% labels_to_column()