Learn R Programming

SpatialVx (version 1.0-2)

expvgram: Exponential Variogram

Description

Calculates the empirical variogram for use with function spct.

Usage

expvgram(p, h, ...)

Value

A numeric vector of variogram values for each separation distance in h.

Arguments

p

numeric vector of length two giving the nugget and range parameter values, resp.

h

numeric vector of separation distances.

...

Not used.

Author

Eric Gilleland

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 ).

See Also

spct

Examples

Run this code
# See help file for spct for examples.

Run the code above in your browser using DataLab