as.lpp.stlpp: Methods for spatio-temporal point patterns on a linear...

View source: R/as.lpp.stlpp.R

as.lpp.stlppR Documentation

Methods for spatio-temporal point patterns on a linear network

Description

This function projects an object of class stlpp into a linear network.

Usage

## S3 method for class 'stlpp'
as.lpp(x,...)

Arguments

x

an object of class stlpp

...

arguments passed to as.lpp

Details

This function projects the spatio-temporal point pattern x on the linear network L into L, giving its corresponding spatial point pattern.

Value

An object of class lpp.

Author(s)

Mehdi Moradi <m2.moradi@yahoo.com>

See Also

as.stlpp, lpp, as.lpp

Examples

 
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)


Moradii/stlnpp documentation built on Jan. 24, 2025, 3:17 a.m.