Random effects are independent and identically distributed.
Usage
iid_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
iid_aghq(mw)
#> Error in nrow(sf): object 'mw' not found