density.tpp {stlnpp}R Documentation

Kernel estimation of intensity of one-dimensional point patterns

Description

Kernel estimation of intensity of one-dimensional point patterns.

Usage

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

Arguments

x

an object 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

Details

A vector of intensity values.

Value

If at="points": a vector of intensity values at the data points of x.

If at="pixels": a vector of intensity values over a grid.

Author(s)

Mehdi Moradi <m2.moradi@yahoo.com> and Ottmar Cronie

References

Mateu, J., Moradi, M., & Cronie, O. (2019). Spatio-temporal point patterns on linear networks: Pseudo-separable intensity estimation. Spatial Statistics, 100400.

See Also

density, bw.nrd0

Examples

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



[Package stlnpp version 0.4.0 Index]