Extract spatial range and variance from a fitted spatial model
Source:R/diagnostics_generic.R
spatial_range.RdSummarises the posterior of spatial hyperparameters. For sampler-tier fits this reads the raw hyperparameter draws; for a nested-Laplace spatial fit it summarises the outer hyperparameter grid. Works with ICAR, BYM2, GP (NNGP), CAR, SPDE, and SVC spatial types.
Usage
spatial_range(object, probs = c(0.025, 0.975))