xyVector
Construct an 'xyVector' Object
Description
Creates a list object of class "xyVector" containing vectors "x" and "y".
Usage
xyVector(x, y)
Arguments
x |
a vector or any object can be coerced to vector.
|
y |
a vector or any object can be coerced to vector.
|
Value
returns a list of class "xyVector" whose equal-length vector components x and y
are derived from the arguments via the as.vector function.
Note
The lengths of coerced vector of x and y must be the same.
See Also
Examples
xyVector(1:5, letters[5:9])