mbg1.1.0 package

Model-Based Geostatistics

aggregate_draws_to_polygons_validation

Aggregate grid cell draws to polygons: validation

aggregate_draws_to_polygons

Aggregate grid cell draws to polygons

aggregate_raster_to_polygons_validation

Aggregate a raster to polygons: validation

aggregate_raster_to_polygons

Aggregate a raster to polygons

build_aggregation_table_validation

Validation: Build aggregation table

build_aggregation_table

Build aggregation table

build_id_raster

Build ID raster

calculate_pixel_fractions_single_polygon

Calculate fractional pixels in a polygon

dissolve_sf_by_attribute

Dissolve sf object by attribute

dot-onAttach

Behavior when attaching the mbg package

fit_inla_model

Fit INLA model

generate_cell_draws_and_summarize

Generate cell draws and summary rasters from INLA model

get_current_year

Helper function to get the current year

load_covariates

Load covariates

log_posterior_density

Generate log posterior predictive density from a geostatistical surfac...

logging_add_indent

Add global indent for logging

logging_drop_indent

Remove global indent for logging

logging_get_timer_log

Get timer log

logging_start_timer

Start logging timer

logging_stop_timer

End logging timer

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

Modern model-based geostatistics for point-referenced data. This package provides a simple interface to run spatial machine learning models and geostatistical models that estimate a continuous (raster) surface from point-referenced outcomes and, optionally, a set of raster covariates. The package also includes functions to summarize raster outcomes by (polygon) region while preserving uncertainty.

  • Maintainer: Nathaniel Henry
  • License: MIT + file LICENSE
  • Last published: 2025-04-26