as_gnpp: Transmute to Point Pattern on a Geometric Network

View source: R/as.R

as_gnppR Documentation

Transmute to Point Pattern on a Geometric Network

Description

as_gnpp transmutes an existing object into a point pattern on a geometric network, an object of class gnpp.

Usage

as_gnpp(x, ...)

## S3 method for class 'gnppfit'
as_gnpp(x, ...)

## S3 method for class 'lpp'
as_gnpp(x, ..., spatstat = FALSE)

Arguments

x

An object that could reasonably transmuted to an object of class gnpp.

...

Other arguments.

spatstat

Set to TRUE if retransformation to an object of any spatstat class is desired. Some elements of these objects (such as the window) are otherwise discarded when being transmuted to an object of class gn.

Value

An object of class gnpp.

Author(s)

Marc Schneble marc.schneble@stat.uni-muenchen.de

Examples

library(spatstat.data)
X <- as_gnpp(chicago)
summary(X)

geonet documentation built on July 11, 2022, 9:08 a.m.