Take attributes with names specified by atrs
from object src
and add them as the same attributes to tgt
.
util_inherit_attributes(src, tgt, atrs = c("url", "copyright"))
object
, with attributes to be inherited by tgt
.
object
, onto which attributes of src
should be added.
character()
, vector of names of attributes
of src
to be added to tgt
.
object
, same as tgt
with attributes added.