cov_gen | R Documentation |
Generates the covariance matrix for the Gaussian kernel or Matern kernel
cov_gen(
x1,
x2 = NULL,
t1,
t2 = NULL,
phi1sq,
phi2sq,
sigma1sq,
sigma2sq,
H,
l = 4,
covtype,
iso,
nugget = sqrt(.Machine$double.eps)
)
x1 , x2 |
Design input location matrices. |
t1 , t2 |
Design tunable parameter vectors. |
phi1sq , phi2sq , sigma1sq , sigma2sq , H , l |
hyper-parameters for the covariance function |
covtype |
kernel function used: |
iso |
If |
nugget |
optional |
a matrix of size (nrow(x1)
, nrow(x2)
), or (nrow(x1)
, nrow(x1)
)
if x2
and t2
are NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.