transferAttributes {plgraphics} | R Documentation |
Attach the attributes of an object to another object
transferAttributes(x, xbefore, except = NULL)
x |
the object to which the attributes should be transferred |
xbefore |
the object which delvers the attributes |
except |
names of attributes that will not be transferred |
Object x
with attributes from xbefore
(and possibly
some that it already had)
This function would not be needed if structure
allowed for a list of attributes.
W. A. Stahel
a <- structure(1:10, title="sequence") transferAttributes(31:40, a)