Learn R Programming

spatstat.model (version 3.3-5)

update.rppm: Update a Recursively Partitioned Point Process Model

Description

update method for class "rppm".

Usage

# S3 method for rppm
update(object, ..., envir=environment(terms(object)))

Value

Another fitted recursively partitioned point process model (object of class "rppm".

Arguments

object

Fitted recursively partitioned point process model. An object of class "rppm", obtained from rppm.

...

Arguments passed to rppm.

envir

Environment in which to re-evaluate the call to rppm.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.

Details

object should be a fitted recursively partitioned point process model, obtained from the model-fitting function rppm.

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

See Also

rppm.

Examples

Run this code
 fit <- rppm(nztrees ~ x)
 newfit <- update(fit, . ~ x + y)

Run the code above in your browser using DataLab