as_lpp | R Documentation |
as_lpp
transmutes an existing object into a point pattern on a
geometric network, an object of class lpp
.
as_lpp(x, ...) ## S3 method for class 'gnpp' as_lpp(x, ...)
x |
An object of class |
... |
Other arguments. |
A point pattern on a linear network, an object of class lpp
.
Marc Schneble marc.schneble@stat.uni-muenchen.de
library(spatstat.data) library(spatstat.linnet) x <- as_lpp(montgomery) plot(x) L <- chicago X <- as_gnpp(chicago, spatstat = TRUE) x <- as_lpp(X) # TRUE all.equal(x, L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.