Learn R Programming

stpp (version 1.0-3)

plotK: Plot the estimation of the Space-Time Inhomogeneous K-function

Description

Contour plot or perspective plot the Space-Time Inhomogeneous K-function estimate.

Usage

plotK(K,n=15,L=TRUE,persp=FALSE,legend=TRUE,...)

Arguments

K
result of the STIKhat function.
n
number of contour levels desired.
L
logical indicating whether $K_{ST}(u,v)$ or $L(u,v)=K_{ST}(u,v)-\pi u^2 v$ must be plotted.
persp
logical indicating whether a contour plot (default) or a perspective plot must be plotted.
legend
logical indicating whether a legend must be added to the plot.
...
additional arguments to persp if persp=TRUE, such as theta and phi.

See Also

contour, persp and STIKhat for an example.