expvgram {SpatialVx} | R Documentation |
Exponential Variogram
Description
Calculates the empirical variogram for use with function spct.
Usage
expvgram(p, h, ...)
Arguments
p |
numeric vector of length two giving the nugget and range parameter values, resp. |
h |
numeric vector of separation distances. |
... |
Not used. |
Details
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 )
.
Value
A numeric vector of variogram values for each separation distance in h
.
Author(s)
Eric Gilleland
See Also
Examples
# See help file for spct for examples.
[Package SpatialVx version 1.0-2 Index]