View source: R/methods.stlpp.R
stlpp | R Documentation |
Create spatio-temporal point pattern on linear network.
stlpp(X, L, T, ...)
X |
Locations of the points. A matrix or data frame of coordinates, or a point pattern object (of class "ppp") or other data acceptable to |
L |
linear network (object of class "linnet"). No need to be given if X is an object of |
T |
time vector |
... |
ignored |
This function creates an object of class stlpp. For details about X see lpp
. T represents the time occurrence of data points.
an object of class stlpp.
Mehdi Moradi <m2.moradi@yahoo.com>
as.stlpp
, lpp
X <- rpoislpp(1,easynet) t <- runif(npoints(X)) stlpp(X,T=t,L=easynet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.