Computes predictions over a regular spatial grid using outputs from the
pred_over_grid function.
This function allows for incorporating covariates, offsets, MDA effects, and optional
unstructured random effects into the predictive target.
pred_target_grid(
object,
include_covariates = TRUE,
include_nugget = FALSE,
include_cov_offset = FALSE,
include_mda_effect = TRUE,
mda_grid = NULL,
time_pred = NULL,
include_re = FALSE,
f_target = NULL,
pd_summary = NULL
)An object of class 'RiskMap_pred_target_grid' containing predicted values and summaries over the regular spatial grid.
Output from `pred_over_grid`, a RiskMap.pred.re object.
Logical. Include covariates in the predictive target.
Logical. Include the nugget effect in the predictive target.
Logical. Include the covariate offset in the predictive target.
Logical. Include the MDA effect in the predictive target using a DAST model; see dast.
Optional. Grid of MDA coverage values required for predictions using a DAST model; see dast.
Optional. Time point for prediction required for predictions using a DAST model; see dast.
Logical. Include unstructured random effects in the predictive target.
Optional. List of functions to apply on the linear predictor samples.
Optional. List of summary functions to apply on the predicted values.
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Claudio Fronterre c.fronterr@lancaster.ac.uk
pred_over_grid