Skip to contents

Random effects have a multivariate Gaussian distribution with covariance matrix calculated using centroid_covariance.

Usage

fck_inla(
  sf,
  verbose = FALSE,
  kernel = matern,
  cores = parallel::detectCores(),
  ...
)

Arguments

sf

A simple features object with some geometry.

verbose

Should R-INLA run in mode verbose = TRUE.

kernel

A kernel function, defaults to matern.

cores

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

...

Additional arguments to kernel.

Examples

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