set_labels: Set labels for a data frame

Description Usage Arguments Value

View source: R/helpers.R

Description

Set labels for a data frame

Usage

1
set_labels(dat, label_list)

Arguments

dat

a data frame to apply labels to

label_list

a named list with names matching those of dat and values being labels

Value

data frame with labels attached as attributes (attached to each column and named "label")


trelliscopejs documentation built on Feb. 1, 2021, 9:05 a.m.