Dispatch a spatial Polya-Gamma Gibbs fit to the correct sampler
Source:R/fit_gibbs.R
dispatch_gibbs_spatial.RdThe Gibbs analogue of dispatch_laplace_spatial(): routes on spatial$type
to the matching cpp_pg_<family>_gibbs_<structure> sampler, building the
neighbour-list / coordinate inputs each one needs. The binomial Polya-Gamma
augmentation backs the full areal (icar/bym2/rsr) + continuous (gp/nngp/
multiscale_gp) family; neg_binomial_2 is backed by the single areal ICAR
negbin sampler (cpp_pg_negbin_gibbs_spatial), the only negbin spatial kernel.