gamma_exp | R Documentation |
For points x
, xp
, and a pair of hyperparameters gamma
and theta
,
gives the gamma-exponential correlation between the two points.
gamma_exp(x, xp, hp)
x |
A data.frame of rows corresponding to position vectors |
xp |
A data.frame of rows corresponding to position vectors |
hp |
The hyperparameters theta (correlation length) and gamma (exponent), as a named list |
The gamma-exponential correlation function, for d = |x-x'|, is given by
\exp(-(d/\theta)^\gamma)
. Gamma must be between 0 (exclusive) and 2 (inclusive).
The gamma-exponential correlation between x and xp.
Rasmussen & Williams (2005) <ISBN: 9780262182539>
gamma_exp(data.frame(a=1), data.frame(a=2), list(gamma = 1.5, theta = 0.1))
#> 1.846727e-14
gamma_exp(data.frame(a=1,b=2,c=-1),data.frame(a=1.5,b=2.9,c=-0.7), list(gamma = 1.3, theta = 0.2))
#> 0.0001399953
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.