Skip to contents

Random effects have a multivariate Gaussian distribution with covariance matrix calculated using centroid_covariance. Kernel hyper-parameters are fixed.

Usage

fck_tmb(sf, its = 1000, kernel = matern, ii = NULL, ...)

Arguments

sf

A simple features object with some geometry.

its

Number of iterations in outer loop optimisation, passed to nlminb.

kernel

A kernel function, defaults to matern.

ii

The (zero-indexed) indices of the observations held-out.

...

Additional arguments to kernel.

Examples

fck_tmb(mw, its = 100)
#> Error in sf::st_centroid(sf): object 'mw' not found