View source: R/clickableImageMap.R
zlocator | R Documentation |
wrapper to perform and decode grid.locator()
zlocator(cal, rcnames, bounds)
cal |
return value of calibrate() |
rcnames |
parameter passed to decode() |
bounds |
parameter passed to exitClick() |
keeps looping until a valid click is detected
returns the return value of decode()
if(interactive()){
load("data/x_cal.m.RData")
load("data/x_rcnames.RData")
load("data/x_bounds.RData")
zlocator(x_cal.m,x_rcnames,x_bounds)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.