powered by
Aliases a data.frame. Replaces column names with labels, where present. Stores column name as 'alias' attribute.
# S3 method for data.frame alias(object, ...)
aliased data.frame
data.frame
optional unquoted names of target columns
Other labels: append_units.data.frame(), append_units.default(), append_units(), sub_units()
append_units.data.frame()
append_units.default()
append_units()
sub_units()
Other deprecated: append_units()
library(magrittr) d <- data.frame(x = 1:10, y = 1:10, z = 1:10) d %<>% modify(x, label = 'Independent Value') d %<>% modify(y, label = 'Dependent Value') d alias(d) alias(d, y)
Run the code above in your browser using DataLab