View source: R/special-attributes.R
| cp_lb_attributes | R Documentation | 
Takes two objects and copies all special libbib attributes
(attributes beginning with lb.) from the first object
to the second, by reference.
cp_lb_attributes(a, b)
| a | The first object (the one with the attributes to copy) | 
| b | The second object (the one to copy those attributes to) | 
Nothing, since the object is modified by reference.
tmp1 <- "a" set_lb_date(tmp1, "2021-05-08") set_lb_attribute(tmp1, "note", "just an example") tmp2 <- "b" cp_lb_attributes(tmp1, tmp2) attributes(tmp2)$lb.date # [1] "2021-05-08" attributes(tmp2)$lb.note # [1] "just an example"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.