Skip to contents

Random effects are independent and identically distributed.

Usage

iid_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

iid_inla(mw, cores = 2)
#> Error in nrow(sf): object 'mw' not found