Description Usage Arguments Details Value Author(s) References
The function selectmap()
is used to select a point or a polygon on the map or
on a scatterplot. Called by any function which draws a scatterplot.
1 | selectmap(var1, var2, obs, Xpoly, Ypoly, method = "")
|
var1 |
a vector x of size n |
var2 |
a vector y of size n |
obs |
a boolean vector of size n : TRUE if a site is already selectioned, FALSE otherwise. |
Xpoly |
X-coordinates of the vertices of selected polygon |
Ypoly |
Y-coordinates of the vertices of selected polygon |
method |
‘point’ if the selected area is a point; ‘poly’ if the selected area is a polygon |
This function is called by all the functions which draw a scatterplot such as scattermap
,
moranplotmap
,... This is not an interactive function.
A vector of boolean of size n. TRUE if a site has been selected, FALSE otherwise.
Thomas-Agnan C., Aragon Y., Ruiz-Gazen A., Laurent T., Robidou L.
Thibault Laurent, Anne Ruiz-Gazen, Christine Thomas-Agnan (2012), GeoXp: An R Package for Exploratory Spatial Data Analysis. Journal of Statistical Software, 47(2), 1-23.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.