Skip to contents

Get Labels

Usage

get_labels(df, x)

Arguments

df

(data.frame).

x

(character) the names of column in the df data frame.

Value

the name of each element in the x vector where missing names are replaced with the value of the label attribute for the corresponding column in the df data frame.