# lpp

From spatstat v1.23-3
by Adrian Baddeley

##### Create Point Pattern on Linear Network

Creates an object of class `"lpp"`

that represents
a point pattern on a linear network.

- Keywords
- spatial

##### Usage

`lpp(X, L)`

##### Arguments

- X
- Locations of the points. A matrix or data frame of coordinates,
or a point pattern object (of class
`"ppp"`

) or other data acceptable to`as.ppp`

. - L
- Linear network (object of class
`"linnet"`

).

##### Details

This command creates an object of class `"lpp"`

that represents
a point pattern on a linear network. The points of `X`

should lie
on the lines of `L`

.

##### Value

- An object of class
`"lpp"`

. Also inherits the class`"ppx"`

.

##### See Also

`methods.lpp`

and
`methods.ppx`

for methods applicable
to `lpp`

objects.
`linnet`

for linear networks.

Random point patterns on a linear network can be generated by
`rpoislpp`

or `runiflpp`

.

##### Examples

```
example(linnet)
xx <- list(x=c(-1.5,0,0.5,1.5), y=c(1.5,3,4.5,1.5))
X <- lpp(xx, letterA)
plot(X)
X
summary(X)
```

*Documentation reproduced from package spatstat, version 1.23-3, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.