show_kernel | R Documentation |
Plotting function for visualising the IDE kernel.
show_kernel(IDEmodel, scale = 1)
IDEmodel |
object of class |
scale |
factor by which to scale the arrows when visualising a spatially-varying kernel |
The function show_kernel
adapts its behaviour to the type of kernel. If the kernel is spatially-invariant, then the kernel with s evaluated at the origin is plotted. If spatially-variant, then arrows on a regular grid over the domain are plotted. The direction of the arrow is indicative of the transport direction at a specific location, while the length of the arrow is indicative of the transport intensity.
IDE
for details on the IDE model.
SIM1 <- simIDE(T = 5, nobs = 100, k_spat_invariant = 0) show_kernel(SIM1$IDEmodel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.