util_inherit_attributes {nhlapi} | R Documentation |
Inherit attributes from another object
Description
Take attributes with names specified by atrs
from object src
and add them as the same attributes to tgt
.
Usage
util_inherit_attributes(src, tgt, atrs = c("url", "copyright"))
Arguments
src |
|
tgt |
|
atrs |
|
Value
object
, same as tgt
with attributes added.
[Package nhlapi version 0.1.4 Index]