gauss | R Documentation |
gauss
is a stationary isotropic covariance model.
The corresponding covariance function only depends on the distance
r ≥ 0 between two points and is given by
C(r)=e^{-r^2}.
gauss(x, derivative=0)
x |
numerical vector; for negative values the modulus is used |
derivative |
value in |
If derivative=0
, the function value is
returned, otherwise the derivative
th derivative.
A vector of length(x)
is returned; nu
is recycled;
scaling
is recycled if numerical.
Gelfand, A. E., Diggle, P., Fuentes, M. and Guttorp, P. (eds.) (2010) Handbook of Spatial Statistics. Boca Raton: Chapman & Hall/CRL.
Stein, M. L. (1999) Interpolation of Spatial Data. New York: Springer-Verlag
x <- 3 confirm(gauss(x), exp(-x^2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.