Function aniso
fits a conventional 2-dimensional anisotropic Gaussian
process, i.e. just with scalings in the x and y coordinates.
aniso(x, z, n, correlation = FALSE, cosine = FALSE, standardise = "together")
An object of class deform
and then of class anisotropic
a 2-column matrix comprising x and y coordinates column-wise, respectively, or a list; see Details for the latter
a variance-covariance matrix
an integer number of data
a logical defining whether z
should be assumed to be a correlation matrix; defaults to FALSE
a logical defining whether the powered exponential covariance function should be multiplied by the cosine of scaled distances, i.e. giving a damped oscillation; defaults to FALSE
a character string that governs whether dimensions are scaled by a common ("together"
) or dimension-specific factor; defaults to "together"
If x
is a list, then it wants elements "x"
, "z"
and "n"
as described above.
Sampson, P. D. and Guttorp, P. (1992) Nonparametric Estimation of Nonstationary Spatial Covariance Structure, Journal of the American Statistical Association, 87:417, 108-119, tools:::Rd_expr_doi("10.1080/01621459.1992.10475181")'
data(solar)
aniso(solar$x, solar$z, solar$n)
# equivalent to aniso(solar)
Run the code above in your browser using DataLab