expvgram | R Documentation |
Calculates the empirical variogram for use with function spct.
expvgram(p, h, ...)
p |
numeric vector of length two giving the nugget and range parameter values, resp. |
h |
numeric vector of separation distances. |
... |
Not used. |
Simple function to work with spct
to calculate the exponential variogram for given parameters and separation distances. The exponential variogram employed here is parameterized by
gamma(h) = sigma * ( 1 - exp( - h * theta ) )
where p
is c( sigma, theta )
.
A numeric vector of variogram values for each separation distance in h
.
Eric Gilleland
spct
# See help file for spct for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.