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
.
## S3 method for class 'mppm' ranef(object, ...)
object |
A fitted point process model (an object of class |
... |
Ignored. |
This is a method for the generic function ranef
.
This function extracts the coefficients of the random effects of the model.
A data frame, or list of data frames, as described in the help for
ranef.lme
.
Adrian Baddeley, Ida-Maria Sintorn and Leanne Bischoff. Implemented in spatstat by Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
Baddeley, A., Rubak, E. and Turner, R. (2015) Spatial Point Patterns: Methodology and Applications with R. London: Chapman and Hall/CRC Press.
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.