Function extending base::attributes()
attributes(x, overwrite = TRUE) <- value
x
an object
overwrite
if TRUE, overwrite old attributes
TRUE
value
new attributes