ranef.mppm

0th

Percentile

Extract Random Effects from Point Process Model

Given a point process model fitted to a list of point patterns, extract the fixed effects of the model. A method for ranef.

Keywords
models, methods, spatial
Usage
# S3 method for mppm
ranef(object, …)
Arguments
object

A fitted point process model (an object of class "mppm").

Ignored.

Details

This is a method for the generic function ranef.

The argument object must be a fitted point process model (object of class "mppm") produced by the fitting algorithm mppm). This represents a point process model that has been fitted to a list of several point pattern datasets. See mppm for information.

This function extracts the coefficients of the random effects of the model.

Value

A data frame, or list of data frames, as described in the help for ranef.lme.

References

Baddeley, A., Rubak, E. and Turner, R. (2015) Spatial Point Patterns: Methodology and Applications with R. London: Chapman and Hall/CRC Press.

See Also

fixef.mppm, coef.mppm

Aliases
  • ranef.mppm
Examples
# NOT RUN {
 H <- hyperframe(Y = waterstriders)
 # Tweak data to exaggerate differences
 H$Y[[1]] <- rthin(H$Y[[1]], 0.3)

 m1 <- mppm(Y ~ id,  data=H, Strauss(7))
 ranef(m1)
 m2 <- mppm(Y ~ 1,  random=~1|id, data=H, Strauss(7))
 ranef(m2)
# }
Documentation reproduced from package spatstat, version 1.57-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.