Learn R Programming

DescrTab2 (version 2.1.16)

unlabel: Remove the label attribute from data

Description

Remove the label attribute from data

Usage

unlabel(dat)

Value

data with the labels removed

Arguments

dat

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

Examples

Run this code
a <- c(1, 2)
attr(a, "label") <- "b"
identical(unlabel(a), c(1, 2))

Run the code above in your browser using DataLab