powered by
with_attributes(.x, ..., .attrs = list())
with_attributes(letters, class = "my_chr", names = 1:26) attrs <- list(class = "my_chr", names = 1:26) with_attributes(letters, .attrs = attrs)
Run the code above in your browser using DataLab