predict.ngme | R Documentation |
Obtains predicted values based on filtering and smoothing distributions.
## S3 method for class 'ngme'
predict(
object,
newdata = NULL,
id = NULL,
type = "Filter",
quantiles = c(0.025, 0.975),
controls = list(return.samples = FALSE, predict.derivatives = NULL, excursions =
NULL, crps = TRUE, crps.skip = 1, nSim = 1000, nBurnin = 100, silent = TRUE, n.cores
= 1, batch.size = 100)
)
object |
A fitted object obtained by calling |
id |
A numeric vector containing the ID's of the subjects 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
## Not run:
fit <- ngme(...)
predict(fit, ...)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.