as.lpp.stlpp | R Documentation |
This function projects an object of class stlpp
into a linear network.
## S3 method for class 'stlpp'
as.lpp(x,...)
x |
an object of class |
... |
arguments passed to |
This function projects the spatio-temporal point pattern x on the linear network L into L, giving its corresponding spatial point pattern.
An object of class lpp
.
Mehdi Moradi <m2.moradi@yahoo.com>
as.stlpp
, lpp
, as.lpp
data(easynet)
x <- runifpointOnLines(40, easynet)
t1 <- sample(1:10,40,replace=TRUE)
Y <- as.stlpp(x,t=t1,L=easynet)
as.lpp.stlpp(Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.