Calculate Cauchy correlation
cor_cauchy(x, a, alpha, nu = 1, nugget = 0, is.dist = FALSE)
x
: A numeric vector, matrix, or array.a
: Smooth parameter, .alpha
: Scale parameter, .nu
: Power parameter, . Default is 1.nugget
: The nugget effect .is.dist
: Logical; if TRUE, x
is a distance matrix or an array of distance matrices.Correlations of the same dimension as x
.
The Cauchy correlation function with scale parameter and smooth parameter has the form
where is 1 when and 0 otherwise.
x <- matrix(c(0, 5, 5, 0), nrow = 2) cor_cauchy(x, a = 1, alpha = 0.5) x <- matrix(c(0, 5, 5, 0), nrow = 2) cor_cauchy(x, a = 1, alpha = 0.5, nugget = 0.3, is.dist = TRUE)
Gneiting, T., and Schlather, M. (2004). Stochastic Models That Separate Fractal Dimension and the Hurst Effect. SIAM Review, 46(2), 269–282.
Other correlation functions: cor_exp()
, cor_fs()
, cor_lagr_askey()
, cor_lagr_exp()
, cor_lagr_tri()
, cor_sep()
, cor_stat()
, cor_stat_rs()
Useful links