Learn R Programming

stlnpp (version 0.3.6)

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"),...)

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

Value

A vector of intensity values.

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

density, bw.nrd0

Examples

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

Run the code above in your browser using DataLab