Description Usage Arguments Value
Make a covariance matrix with covariance function
1 | make_cov_mat_ardC(x, x_pred, cov_par, cov_fun, delta, lnames)
|
x |
Matrix of observed data values |
x_pred |
Potentially an empty matrix. If not empty, this returns the covariance between x and x_pred. |
cov_par |
Named list of covariance parameters. Need "sigma", "tau", and "l1", ..., "ld" where d is the input dimension |
cov_fun |
A character string specifying the covariance function. Currently only works with "ard". |
delta |
Scalar value that functions as a fixed nugget used to stabilize matrix inverses and decompositions. |
lnames |
Vector of the names of the length scale parameters, i.e. "l1", ..., "ld" |
Covariance matrix at the observed data locations if x_pred = matrix(), or the covariances between x and x_pred if x_pred is not an empty matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.