powered by
This function projects an object of class stlpp into a linear network.
stlpp
# S3 method for stlpp as.lpp(x,...)
An object of class lpp.
lpp
an object of class stlpp
arguments passed to as.lpp
as.lpp
Mehdi Moradi <m2.moradi@yahoo.com>
This function projects the spatio-temporal point pattern x on the linear network L into L, giving its corresponding spatial point pattern.
as.stlpp, lpp, as.lpp
as.stlpp
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)
Run the code above in your browser using DataLab