Learn R Programming

stlnpp (version 0.3.8)

stlpp: Create spatio-temporal point pattern on linear network

Description

Create spatio-temporal point pattern on linear network.

Usage

stlpp(X, L, T, ...)

Value

an object of class stlpp.

Arguments

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 as.ppp or lpp

L

linear network (object of class "linnet"). No need to be given if X is an object of lpp

T

time vector

...

ignored

Author

Mehdi Moradi <m2.moradi@yahoo.com>

Details

This function creates an object of class stlpp. For details about X see lpp. T represents the time occurrence of data points.

See Also

as.stlpp, lpp

Examples

Run this code
X <- rpoislpp(1,easynet)
t <- runif(npoints(X))
stlpp(X,T=t,L=easynet)

Run the code above in your browser using DataLab