Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lines.variomodel.grf

Lines with True Variogram for Simulated Data


Description

This functions adds to the graphics device a line with the theoretical (true) variogram used when generating simulations with the function grf.

Usage

## S3 method for class 'grf'
lines.variomodel(x, max.dist, n = 100, ...)

Arguments

x

an object from the class grf typically an output of the function grf.

max.dist

maximum distance to compute and plot the true variogram. Defaults to the maximum distance between two data locations.

n

number of points used to compute and draw the variogram line.

...

further arguments to be passed to the function curve.

Value

A line with the true variogram model is added to the current plot on the graphics device. No values are returned.

Author(s)

Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.

References

Further information on the package geoR can be found at:
http://www.leg.ufpr.br/geoR.

See Also

Examples

sim <- grf(100, cov.pars=c(1, .25)) # simulates data
plot(variog(sim, max.dist=1))       # plot empirical variogram

geoR

Analysis of Geostatistical Data

v1.8-1
GPL (>= 2)
Authors
Paulo J. Ribeiro Jr [aut, cre] <paulojus@ufpr.br>, Peter J. Diggle [aut, cre] <p.diggle@lancaster.ac.uk> Ole Christensen [ctb], Martin Schlather [ctb], Roger Bivand [ctb], Brian Ripley [ctb]
Initial release
2020-02-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.