# Model-Based Geostatistics

## Documentation for package ‘mbg’ version 1.2.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

.onAttach | Behavior when attaching the mbg package
aggregate_draws_to_polygons | Aggregate grid cell draws to polygons
aggregate_raster_to_polygons | Aggregate a raster to polygons
build_aggregation_table | Build aggregation table
build_id_raster | Build ID raster
dissolve_sf_by_attribute | Dissolve sf object by attribute
fit_inla_model | Fit INLA model
generate_cell_draws_and_summarize | Generate cell draws and summary rasters from INLA model
load_covariates | Load covariates
logging_get_timer_log | Get timer log
logging_start_timer | Start logging timer
logging_stop_timer | End logging timer
log_posterior_density | Generate log posterior predictive density from a geostatistical surface onto point data
make_time_stamp | Make time stamp
make_world_template_raster | Make world template raster
MbgModelRunner | MBG model runner class
prepare_inla_data_stack | Prepare data stack for INLA
rmse_raster_to_point | Generate RMSE from an estimated raster surface and point data
run_regression_submodels | Run regression sub-models
summarize_draws | Summarize draws
values_to_raster | Insert values into a raster
vif_covariate_select | Run variance inflation factor (VIF) selection on input covariates