Learn R Programming

stlnpp (version 0.3.8)

density.tpp: Kernel estimation of intensity of temporal point patterns

Description

Kernel estimation of intensity of temporal point patterns.

Usage

# S3 method for tpp
density(x,tbw,at=c("points","pixels"),...)

Value

A vector of intensity values.

Arguments

x

a temporal point pattern (of class tpp)

tbw

time smoothing bandwidth

at

string specifying whether to compute the intensity values at a grid of pixel locations (at="pixels") or only at the points of x (at="points"). default is to estimate the intensity at pixels

...

arguments passed to density

Author

Mehdi Moradi <m2.moradi@yahoo.com>

References

Moradi, M.M. and Mateu, J. (2019). First and second-order characteristics of spatio-temporal point processes on linear networks. Journal of Computational and Graphical Statistics. In press.

See Also

Examples

Run this code
X <- tpp(sample(c(1:24),200,replace = TRUE))
plot(density(X))

Run the code above in your browser using DataLab