selectstat {GeoXp} | R Documentation |
The function selectstat()
is used to select sites on a graphic such as Histogram, Barplot, Boxplot, Polyboxplot, Scatterplot, Densityplot, Neighbourplot, Lorentz, Moran, Angleplot, Variocloud, Cluster, or PCA. Most of the GeoXp functions call selectstat.r.
selectstat(var1, var2, obs, Xpoly, Ypoly, method, nbcol, W, F, long, lat)
var1 |
1st variable of size n |
var2 |
2nd variable 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 |
name of the graph wich must be drawn among Histogram, Barplot, Boxplot, Polyboxplot, Densityplot, Neighbourplot, Lorentz, Anglepoint, Variopoint |
nbcol |
nbcol : number of cells for the histogram (10 by default) |
W |
A spatial weight matrix of size n x n |
F |
a numerical vector |
long |
a vector of x-axis of size n |
lat |
a vector of y-axis of size n |
This function is not an interactive function.
Return a vector of boolean of size n with TRUE if sites have been selected on a graph
Thomas-Agnan C., Aragon Y., Ruiz-Gazen A., Laurent T., Robidou L.
Aragon Yves, Perrin Olivier, Ruiz-Gazen Anne, Thomas-Agnan Christine (2009), Statistique et Econométrie pour données géoréférencées : modèles et études de cas