powered by
Produces h-scatterplots, where point pairs having specific separation distances are plotted. This function is a wrapper around xyplot.
hscat(formula, data, breaks, pch = 3, cex = .6, mirror = FALSE, variogram.alpha = 0, as.table = TRUE,...)
specifies the dependent variable
data where the variable in formula is resolved
distance class boundaries
plotting symbol
plotting symbol size
logical; duplicate all points mirrored along x=y? (note that correlations are those of the points plotted)
parameter to be passed as alpha parameter to variogram; if alpha is specified it will only affect xyplot by being passed through ...
logical; if TRUE, panels plot top-to-bottom
TRUE
parameters, passed to variogram and xyplot
an object of class trellis; normally the h scatter plot
http://www.gstat.org/
Pebesma, E.J., 2004. Multivariable geostatistics in S: the gstat package. Computers \& Geosciences, 30: 683-691.
# NOT RUN { library(sp) data(meuse) coordinates(meuse) = ~x+y hscat(log(zinc)~1, meuse, c(0, 80, 120, 250, 500, 1000)) # }
Run the code above in your browser using DataLab