Compute integrated kernel Gram matrix.
integrated_covariance.RdDraws S samples from each area of sf and averages kernel over each pair of draws.
If a lengthscale is not provided then the best_average method is used.
Arguments
- sf
A simple features object with some geometry.
- L
The number of Monte Carlo samples to draw from each area.
- kernel
A kernel function, defaults to
matern.- type
The
typeargument ofsf::st_sample, defaults to"hexagonal"- l
A lengthscale.
- ...
Additional arguments to
kernel.