make_covmat | R Documentation |
Make covariance matrix with different types of covariance models.
make_covmat(theta, dist_mtx, is_log, include_nugg, type = "exponential")
theta |
numeric vector with 3 covariance parameters: nugget, partial sill, and range (in that order). |
dist_mtx |
Matrix of pairwise distances between data locations. |
is_log |
logical. If |
include_nugg |
logical. Whether or not to include the nugget along the diagonal. |
type |
character. Type of covariance model: |
Covariance matrix.
Eric W. Fox
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.