methods.sphppm: Methods for Fitted Models on a Sphere

methods.sphppmR Documentation

Methods for Fitted Models on a Sphere

Description

Methods for standard operations for the class of point process models on a sphere.

Usage

 ## 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, ...)

Arguments

object,x

A fitted model of class "sphppm" obtained from sphppm

...

Additional arguments passed to other methods.

Details

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.

Value

Same as for the generics.

Author(s)

Adrian Baddeley

See Also

sphppm, ppm.object, anova.ppm, coef.ppm, fitted.ppm, formula.ppm, update.ppm, print.ppm

Examples

   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")

baddstats/spherstat documentation built on Feb. 6, 2023, 1:45 a.m.