# Construct an xyVector Object

### Description

Create an object to represent a set of x-y pairs. The resulting
object can be treated as a matrix or as a data frame or as a vector.
When treated as a vector it reduces to the `y`

component only.

The result of functions such as `predict.spline`

is returned as
an `xyVector`

object so the x-values used to generate the
y-positions are retained, say for purposes of generating plots.

### Usage

1 | ```
xyVector(x, y)
``` |

### Arguments

`x` |
a numeric vector |

`y` |
a numeric vector of the same length as |

### Value

An object of class `xyVector`

with components

`x` |
a numeric vector |

`y` |
a numeric vector of the same length as |

### Author(s)

Douglas Bates and Bill Venables

### Examples

1 2 3 4 5 6 7 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.