Description Usage Arguments Value Examples
View source: R/postprocessing.R
Plot kernel ellipses centered at the DPC gridpoints
1 | get_ellipses_plot(dpc_grid, fit, eval = 0.7)
|
dpc_grid |
Discrete Process Convolution grid |
fit |
Fitted model |
eval |
Size of ellipses: k[s_i, s_j, \phi] = eval |
Plot of ellipses
1 2 3 4 5 6 7 8 | s = expand.grid(lat = -1:1, lon=-1:1)
y = c(1,0,0,0,1,0,0,0,1)
dpc_grid = get_grid(c(-1,1), c(-1,1), spacing = 2)
priors = get_priors(dpc_grid)
iso_kernel_matrix = get_kernel_matrix(s, dpc_grid)
fit = get_mcmc(s, dpc_grid, y, 10, 1000, priors, 100, 1)
get_interpolation_plot(s, dpc_grid, fit)
get_ellipses_plot(dpc_grid, fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.