Skip to contents

Fit BYM2 Small Area Estimation model using R-INLA.

Usage

bym2_inla(sf, verbose = FALSE, cores = parallel::detectCores())

Arguments

sf

A simple features object with some geometry.

verbose

Should R-INLA run in mode verbose = TRUE.

cores

Number of cores, passed to R-INLA, defaults to parallel::detectCores().

Examples

bym2_inla(mw, cores = 2)
#> Error in .class1(object): object 'mw' not found