transferAttributes | 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
structure
a <- structure(1:10, title="sequence")
transferAttributes(31:40, a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.