Extract.linnet

0th

Percentile

Extract Subset of Linear Network

Extract a subset of a linear network.

Keywords
manip, spatial
Usage
## S3 method for class 'linnet':
[(x, i, \dots)
Arguments
x
A linear network (object of class "linnet").
i
Spatial window defining the subregion. An object of class "owin".
...
Ignored.
Details

This function computes the intersection between the linear network x and the domain specified by i. This function is a method for the subset operator "[" for linear networks (objects of class "linnet"). It is provided mainly for completeness.

The index i should be a window.

Value

• Another linear network (object of class "linnet").

• [.linnet
Examples
plot(simplenet)
B <- owin(c(0,1),c(0.2,0.5))
plot(B, add=TRUE, border="green")