transferAttributes {plgraphics} | R Documentation |
Transfer Attributes
Description
Attach the attributes of an object to another object
Usage
transferAttributes(x, xbefore, except = NULL)
Arguments
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 |
Value
Object x
with attributes from xbefore
(and possibly
some that it already had)
Note
This function would not be needed if structure
allowed for a list of attributes.
Author(s)
W. A. Stahel
See Also
Examples
a <- structure(1:10, title="sequence")
transferAttributes(31:40, a)
[Package plgraphics version 1.2 Index]