powered by
This functions adds to the graphics device a line with the theoretical (true) variogram used when generating simulations with the function grf.
grf
# S3 method for grf lines.variomodel(x, max.dist, n = 100, …)
an object from the class grf typically an output of the function grf.
maximum distance to compute and plot the true variogram. Defaults to the maximum distance between two data locations.
number of points used to compute and draw the variogram line.
further arguments to be passed to the function curve.
curve
A line with the true variogram model is added to the current plot on the graphics device. No values are returned.
Further information on the package geoR can be found at: http://www.leg.ufpr.br/geoR.
lines.variomodel, grf, plot.grf, curve.
lines.variomodel
plot.grf
# NOT RUN { sim <- grf(100, cov.pars=c(1, .25)) # simulates data plot(variog(sim, max.dist=1)) # plot empirical variogram # }
Run the code above in your browser using DataLab