matern | R Documentation |
For points x
, xp
, and a pair of hyperparameters nu
and theta
, gives
the Matern correlation between the two points.
matern(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 nu (smoothness) and theta (correlation length), as a named list |
At present, only half-integer arguments for nu are supported.
The Matern correlation between x and xp.
Rasmussen & Williams (2005) <ISBN: 9780262182539>
matern(data.frame(a=1), data.frame(a=2), list(nu = 1.5, theta = 0.1))
#> 5.504735e-07
matern(data.frame(a=1,b=2,c=-1),data.frame(a=1.5,b=2.9,c=-0.7), list(nu = 1.5, theta = 0.2))
#> 0.0009527116
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.