powered by
Attach the attributes of an object to another object
transferAttributes(x, xbefore, except = NULL)
Object x with attributes from xbefore (and possibly some that it already had)
x
xbefore
the object to which the attributes should be transferred
the object which delvers the attributes
names of attributes that will not be transferred
W. A. Stahel
structure
a <- structure(1:10, title="sequence") transferAttributes(31:40, a)
Run the code above in your browser using DataLab