gridToDevice | R Documentation |
This function converts a coordinate pair specifying a location in a
grid viewport()
in grid units to a coordinate pair specifying a
location in device units relative to the lower left corner of the plotting
canvas.
gridToDevice(x = 0, y = 0, units = "native")
x |
x coordinate. |
y |
y coordinate. If no values are given for |
units |
Character string indicating the units of |
A tuple of coordinates in device units.
Charlie Sharpsteen source@sharpsteen.net
unit()
viewport()
convertX()
convertY()
current.transform()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.