Learn R Programming

stpp (version 2.0-8)

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

Description

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

Usage

plotK(K,n=15,L=FALSE,type="contour",legend=TRUE,which=NULL,
main=NULL,...)

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.

type

Specifies the kind of plot: contour by default, but can also be persp or image

legend

Logical indicating whether a legend must be added to the plot.

which

A character specifying the edge correction among the ones used in STIKhat. If a single edge correction method was used in STIKhat, it is not necessary to specify which.

main

Plot title.

...

Additional arguments to persp if persp=TRUE, such as theta and phi.

Author

Edith Gabriel <edith.gabriel@inrae.fr>

See Also

contour, persp, image and STIKhat for an example.