Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

domain.lpp

Extract the Linear Network on which Spatial Data are Defined


Description

Given a spatial object representing data on a linear network, extract the network.

Usage

## S3 method for class 'lpp'
domain(X, ...)

 ## S3 method for class 'lppm'
domain(X, ...)

 ## S3 method for class 'linfun'
domain(X, ...)

 ## S3 method for class 'lintess'
domain(X, ...)

Arguments

X

A spatial object representing data on a linear network. An object of class "lpp", "lppm", "linfun" or "lintess".

...

Extra arguments. They are ignored by all the methods listed here.

Details

The function domain is generic, with methods for many classes.

For a spatial object X domain(X) extracts the spatial domain in which X is defined.

For a two-dimensional object X, typically domain(X) is the same as Window(X).

The exception is that, if X is a point pattern on a linear network (class "lpp") or a point process model on a linear network (class "lppm"), then domain(X) is the linear network on which the points lie, while Window(X) is the two-dimensional window containing the linear network.

Value

A linear network (object of class "linnet").

Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.

See Also

Examples

domain(chicago)

spatstat.linnet

Linear Networks Functionality of the 'spatstat' Family

v2.1-1
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Ottmar Cronie [ctb], Tilman Davies [ctb], Greg McSwiggan [ctb], Suman Rakshit [ctb]
Initial release
2021-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.