rthin.stlpp: Random thinning

View source: R/rthin.stlpp.R

rthin.stlppR Documentation

Random thinning

Description

This function applies independent random thinning to a spatio-temporal point pattern on a linear network.

Usage

## S3 method for class 'stlpp'
rthin(X, P = P, nsim = 1)

Arguments

X

a spatio-temporal point pattern of class stlpp

P

retention probability

nsim

number of simulated realisations to be generated

Details

See rthin.

Value

An object of the same kind as X if nsim=1, or a list of such objects if nsim > 1.

Author(s)

Mehdi Moradi <m2.moradi@yahoo.com>

References

Moradi, M., & Mateu, J. (2020). First-and second-order characteristics of spatio-temporal point processes on linear networks. Journal of Computational and Graphical Statistics, 29(3), 432-443.

See Also

stlpp, rthin

Examples

 
data(Medellin)
rthin(Medellin,P=.5)


Moradii/stlnpp documentation built on Jan. 24, 2025, 3:17 a.m.