poly.Matern | R Documentation |
Matern covariance and bridge timefunction
poly.Matern(s, t, range, smooth, koef)
s, t |
time arguments |
range, smooth, koef |
Matern parameters. See Materntid |
This is a specific implementation for Matern covariance.
timefunction.bridge
f <- function(s, t, params) poly.Matern(s, t, params[1], params[2], params[3:4] ) a1 <- diag(c(1.5, 0.1, 0.7)) a2 <- a1 + 2 ti <- seq(0,1, 0.02) kovMat(ti, list(a1, a2), c(0,1), f, params = c(0.5, 2, 1, 1), noise = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.