Description Usage Arguments Value Examples
Construct a sparse kernel matrix
1  | get_kernel_matrix(s, dpc_grid, phi = NULL)
 | 
s | 
 Observation locations  | 
dpc_grid | 
 Discrete Process Convolution grid  | 
phi | 
 Optional kernel parameters  | 
List with sparse matrix (nrow = number of observations, ncol = number of gridpoints), plus metadata
1 2 3  | s = data.frame(lon = 1:3, lat = 1:3)
dpc_grid = get_grid(c(1, 3), c(1, 3), 1)
get_kernel_matrix(s, dpc_grid)$mat
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.