# update.kppm

From spatstat v1.17-0
by Adrian Baddeley

##### Update a Fitted Cluster Point Process Model

`update`

method for class `"kppm"`

.

##### Usage

```
## S3 method for class 'kppm':
update(object, trend = ~1, ..., clusters = NULL)
```

##### Arguments

##### Details

`object`

should be a fitted cluster point process model,
obtained from the model-fitting function `kppm`

.
The model will be updated according to the new arguments provided.

The argument `trend`

determines the formula for the intensity
in the model. It should be an Rformula without a left hand side.
It may include the symbols `.`

and `+`

or `-`

to
specify addition or deletion of terms in the current model formula,
as shown in the Examples below.

The model is refitted using `kppm`

.

##### Value

- Another fitted cluster point process model (object of
class
`"kppm"`

.

##### See Also

##### Examples

```
data(redwood)
fit <- kppm(redwood, ~1, "Thomas")
fitx <- update(fit, ~ . + x)
fitM <- update(fit, clusters="MatClust")
```

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

### Community examples

Looks like there are no examples yet.