Skip to contents

Remove the label attribute from data

Usage

unlabel(dat)

Arguments

dat

data in the form of a list, data.frame or tibble, or a vector

Value

data with the labels removed

Examples

a <- c(1, 2)
attr(a, "label") <- "b"
identical(unlabel(a), c(1, 2))
#> [1] TRUE