find_phi {smile} | R Documentation |
Find phi parameter for the Exponential spatial auto-correlation function
Description
Function designed to find the phi parameter such that the
correlation between points within a given distance d
is at most a
given value.
Usage
find_phi(
d,
nu,
kappa,
mu2,
family = "matern",
range = c(1e-04, 1000),
cut = 0.05
)
Arguments
d |
maximum distance for spatial dependence equal to |
nu |
smoothness parameter associated with the Matern cov. function. |
kappa |
one of the smoothness parameters associated with the Generalized Wendland covariance function |
mu2 |
one of the smoothness parameters associated with the Generalized Wendland covariance function |
family |
covariance function family, the options are |
range |
Minimum and maximum distance to be considered. The default is
|
cut |
desired spatial correlation at a distance |
Value
a numeric
value indicating the range parameter such that the
spatial correlation between two points at distance d
is
cut
.