matern_acf | R Documentation |
Matern autocorrelation function.
matern_acf(tseq, lambda, nu)
tseq |
Vector of |
lambda |
Timescale parameter. |
nu |
Smoothness parameter. |
The Matern autocorrelation is given by
acf(t) = 2^(1-ν)/Γ(ν) * (√{2ν} * t/λ)^ν * K_ν(√{2ν} * t/λ),
where K_ν(x) is the modified Bessel function of second kind.
An autocorrelation vector of length N
.
matern_acf(tseq = 1:10, lambda = 1, nu = 3/2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.