xyPoint-class | R Documentation |
This class is used to describe a coordinate in 2-dimensional (X/Y) space
Objects can be created by calls of the form new("xyPoint", ...)
.
x
:Object of class "numeric"
The x coordinate
y
:Object of class "numeric"
The y coordinate
Returns the value stored in the x
slot
Returns the value stored in the y
slot
Returns a vector of two numerical values
representing the x
and y
positions
Display information about the object in a concise fashion
Jeff Gentry
z <- new("xyPoint", x=150, y=30) z getPoints(z) getX(z) getY(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.