unique.stlpp | R Documentation |
This function extracts unique points from a spatio-temporal point pattern on a linear network.
## S3 method for class 'stlpp'
unique(x,...)
x |
a spatio-temporal point pattern of class |
... |
arguments for |
This function extracts unique points from a spatio-temporal point pattern on a linear network.
A spatio-temporal point pattern on a linear network with no duplicated point.
Mehdi Moradi <m2.moradi@yahoo.com>
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.
unique
X <- rpoistlpp(0.1,0,5,L=easynet)
df <- as.data.frame(X)
df_dup <- df[sample(nrow(df), 20,replace = TRUE), ]
Y <- as.stlpp(df_dup,L=easynet)
npoints(Y)
npoints(unique(Y))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.