Skip to contents

Set several labels in a dataframe

Usage

set_lbls(df, lbls)

Arguments

df

a dataframe.

lbls

a named list. Each entry will have as name the name of a given column in df and as value the expected label of the given column.

Value

A dataframe with the set labels