
Last chance! 50% off unlimited learning
Sale ends in
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