Learn R Programming

plgraphics (version 1.2)

transferAttributes: Transfer Attributes

Description

Attach the attributes of an object to another object

Usage

transferAttributes(x, xbefore, except = NULL)

Value

Object x with attributes from xbefore (and possibly some that it already had)

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

Author

W. A. Stahel

See Also

Examples

Run this code
a <- structure(1:10, title="sequence")
transferAttributes(31:40, a)

Run the code above in your browser using DataLab