View source: R/predict.ngme.spatial.R
| predict.ngme.spatial | R Documentation |
Spatial prediction and cross-validation.
## S3 method for class 'ngme.spatial'
predict(
object,
id = NULL,
type = "Smoothing",
data = NULL,
quantiles = c(0.025, 0.975),
controls = list(return.samples = FALSE, excursions = NULL, crps = TRUE, nSim = 1000,
nBurnin = 100, silent = TRUE, seed = NULL, n.cores = 1)
)
object |
A fitted object obtained by calling |
id |
A numeric vector containing the ID's of the replicates for whom
predictions are to be obtained. Default is set to |
type |
A character string for the type of prediction: |
quantiles |
A two-element vector that contains the quantiles of the predictions to be calculated. |
controls |
A list of control variables.
|
A list of output.
ngme.spatial
## Not run:
fit <- ngme.spatial(...)
predict(fit, ...)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.