# data.ppm

From spatstat v1.56-1
by Adrian Baddeley

##### Extract Original Data from a Fitted Point Process Model

Given a fitted point process model, this function extracts the original point pattern dataset to which the model was fitted.

##### Usage

`data.ppm(object)`

##### Arguments

- object
fitted point process model (an object of class

`"ppm"`

).

##### Details

An object of class `"ppm"`

represents a point process model
that has been fitted to data. It is typically produced by
the model-fitting algorithm `ppm`

.
The object contains complete information about the original data
point pattern to which the model was fitted.
This function extracts the original data pattern.

See `ppm.object`

for a list of all operations that can be
performed on objects of class `"ppm"`

.

##### Value

A point pattern (object of class `"ppp"`

).

##### See Also

##### Examples

```
# NOT RUN {
data(cells)
fit <- ppm(cells, ~1, Strauss(r=0.1))
X <- data.ppm(fit)
# 'X' is identical to 'cells'
# }
```

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

### Community examples

Looks like there are no examples yet.