Obtains spatial predictions at selected locations.
1 2 | rr_universal_krige(Y, X, S = NULL, coords, pgrid = coords, Xpred = X,
Spred = S, V = NULL, ssq, tsq = 0, ncore = 1, ...)
|
Y |
the observed data. Should already be on log-scale. |
X |
the design matrix for the large-scale variation (fixed effects). |
S |
the matrix of basis functions (design matrix for the random effect). |
coords |
the matrix of observed locations. |
pgrid |
the prediction grid. |
Xpred |
the design matrix for the predicted locations. |
Spred |
the matrix of basis functions for the predicted locations. |
V |
the estimated covariance matrix. |
ssq |
the estimated residual variance. |
tsq |
the estimated variance due to dimension reduction. |
ncore |
if |
... |
space for additional arguments (passed to relelvent prediction function). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.