powered by
The lens version of attr and attr<-
attr
attr<-
attr_l(attrib)
A length one character vector indicating the attribute to lens into.
# NOT RUN { (x <- structure(1:10, important = "attribute")) view(x, attr_l("important")) set(x, attr_l("important"), "feature") # }
Run the code above in your browser using DataLab