assign_label.Rd
Assigns a label to a data frame column using Hmisc::label()
assign_label(df, col)
df | a data frame |
---|---|
col | a column |
A dataframe with the new labels
Fetches label from nsqipBileSpill::fetch_label()
.
In order to ascribe your own labels, you must update the nsqipBileSpill::fetch_label()
function.
#> age #> 1 1 #> 2 2 #> 3 3