exitClick {clickableImageMap}R Documentation

exitClick

Description

test position of mouse click to see if user wants to exit

Usage

exitClick(bounds, y)

Arguments

bounds

list of numeric xmin xmax ymin ymax defining screen target for exit

y

numeric vector of x and y cursor position

Details

use in conjunction with defineBounds()

Value

Boolean TRUE if y is within bounds

Examples

if(interactive()){
load("data/x_bounds.RData")
load("data/x_y.RData")
exitClick(x_bounds,x_y)
}


[Package clickableImageMap version 1.0 Index]