show_kernel {IDE} | R Documentation |
Show IDE kernel
Description
Plotting function for visualising the IDE kernel.
Usage
show_kernel(IDEmodel, scale = 1)
Arguments
IDEmodel |
object of class |
scale |
factor by which to scale the arrows when visualising a spatially-varying kernel |
Details
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.
See Also
IDE
for details on the IDE model.
Examples
SIM1 <- simIDE(T = 5, nobs = 100, k_spat_invariant = 0)
show_kernel(SIM1$IDEmodel)
[Package IDE version 0.3.1 Index]