Learn R Programming

rMouse (version 0.1)

coord: Get Coordinates of Mouse Cursor

Description

Get the coordinates of the current location of the mouse cursor.

Usage

coord()

Arguments

Value

Returns a list with the coordinates.

See Also

pos, record

Examples

Run this code

coord()
coord()$x
coord()$y

Run the code above in your browser using DataLab