Fit BYM2 Small Area Estimation model using aghq
.
Usage
bym2_aghq(sf, k = 3, ii = NULL)
Arguments
- sf
A simple features object with some geometry.
- k
Number of quadrature points per hyperparameter dimension.
- ii
The (zero-indexed) indices of the observations held-out.
Examples
bym2_aghq(mw)
#> Error in .class1(object): object 'mw' not found