| ilocator | R Documentation | 
Locator function with set parameters
ilocator(N=1, COL=1, NUM=FALSE, YN=NULL, style=0)
| N | number of points to locate | 
| COL | color | 
| NUM | number of points | 
| YN | number of windows to span for lines | 
| style | 0,1,2 for differnt style of plotting vertical lines | 
if the window is divided into YN horizontal regions, style =2 will plot segments only within regions based on y-value of locator().
list:
| x | x-locations | 
| y | y-locations | 
| n | number of points | 
Jonathan M. Lees<jonathan.lees.edu>
locator
plot(c(0,1), c(0,1), type='n')
for(i in 1:5) { abline(h=i/6) }
ilocator(N=3, COL = 1, NUM = 4, YN = 6, style = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.