methods.sphppm | R Documentation |
Methods for standard operations for the class of point process models on a sphere.
## S3 method for class 'sphppm' anova(object, ...) ## S3 method for class 'sphppm' coef(object, ...) ## S3 method for class 'sphppm' fitted(object, ...) ## S3 method for class 'sphppm' formula(x, ...) ## S3 method for class 'sphppm' update(object, ...) ## S3 method for class 'sphppm' print(x, ...)
object,x |
A fitted model of class |
... |
Additional arguments passed to other methods. |
These are methods for the generic functions
anova
,
coef
,
fitted.values
,
formula
,
update
and
print
,
for the class "sphppm"
of fitted point process models
on a sphere.
Same as for the generics.
Adrian Baddeley
sphppm
, ppm.object
, anova.ppm
, coef.ppm
, fitted.ppm
, formula.ppm
, update.ppm
, print.ppm
W <- sphwin(type="band", param=c(pi/3, 2*pi/3), ref=c(0,0)) Z <- runif.sphwin(20, W) model <- sphppm(Z ~ cos(theta) + sin(phi)) model coef(model) fitted(model) formula(model) anova(model) update(model, . ~ sin(theta)) # likelihood ratio test model0 <- update(model, . ~ 1) anova(model0, model, test="Chi")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.