structurogram(loc, y, q = 2, id = NULL, d = NULL, lon.lat = FALSE, dmax = NULL,
N = NULL, breaks = NULL)## S3 method for class 'structurogram':
plot(x, ...)
structurogram
function.id
). If not included, these are determined directly from loc
.vgram
from package S_q(l_x,l_y) = <|r(x+l_x,y+l_y) -="" r(x,y)|^q="">|r(x+l_x,y+l_y)>
where R is the field of interest, <> denotes the average over pixels in the image (note, in Harris et al. (2001), this is only over non-zero pixels, so is only equivalent to this equation if zero-valued points are first removed from y and loc), l_x and l_y are lags in the x and y directions, resp. If q=2, then this is the semivariogram.
The plot
method function plots the structure by separation distance (circles) along with a dark blue line giving the bin centers.
vgram
, vgram.matrix
, structurogram.matrix
data( ozone2)
good<- !is.na(ozone2$y[16,])
x<- ozone2$lon.lat[good,]
y<- ozone2$y[16,good]
look <- structurogram( x,y, N=15, lon.lat=TRUE)
plot(look)
# Compare above with results from example for function vgram from package fields.
look <- structurogram( x,y, N=15, lon.lat=TRUE, q=1)
plot(look)
Run the code above in your browser using DataLab