Predictive Target Over a Regular Spatial Grid
pred_target_grid.Rd
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.
Usage
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
)
Arguments
- object
Output from `pred_over_grid`, a RiskMap.pred.re object.
- include_covariates
Logical. Include covariates in the predictive target.
- include_nugget
Logical. Include the nugget effect in the predictive target.
- include_cov_offset
Logical. Include the covariate offset in the predictive target.
- include_mda_effect
Logical. Include the MDA effect in the predictive target using a DAST model; see
dast
.- mda_grid
Optional. Grid of MDA coverage values required for predictions using a DAST model; see
dast
.- time_pred
Optional. Time point for prediction required for predictions using a DAST model; see
dast
.- include_re
Logical. Include unstructured random effects in the predictive target.
- f_target
Optional. List of functions to apply on the linear predictor samples.
- pd_summary
Optional. List of summary functions to apply on the predicted values.
Value
An object of class 'RiskMap_pred_target_grid' containing predicted values and summaries over the regular spatial grid.