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.

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

`x` |
a numeric vector |

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

An object of class `xyVector`

with components

`x` |
a numeric vector |

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

Douglas Bates and Bill Venables

1 2 3 4 5 6 7 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.