methods.lppm: Methods for Fitted Point Process Models on a Linear Network

Description Usage Arguments Details Value Author(s) See Also Examples

Description

These are methods for the class "lppm" of fitted point process models on a linear network.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  ## S3 method for class 'lppm'
coef(object, ...)

  ## S3 method for class 'lppm'
emend(object, ...)

  ## S3 method for class 'lppm'
extractAIC(fit, ...)

  ## S3 method for class 'lppm'
formula(x, ...)

  ## S3 method for class 'lppm'
logLik(object, ...)

  ## S3 method for class 'lppm'
deviance(object, ...)

  ## S3 method for class 'lppm'
nobs(object, ...)

  ## S3 method for class 'lppm'
print(x, ...)

  ## S3 method for class 'lppm'
summary(object, ...)

  ## S3 method for class 'lppm'
terms(x, ...)

  ## S3 method for class 'lppm'
update(object, ...)

  ## S3 method for class 'lppm'
valid(object, ...)

  ## S3 method for class 'lppm'
vcov(object, ...)

  ## S3 method for class 'lppm'
as.linnet(X, ...)

  ## S3 method for class 'lppm'
response(object)

Arguments

object,fit,x,X

An object of class "lppm" representing a fitted point process model on a linear network.

...

Arguments passed to other methods, usually the method for the class "ppm".

Details

These are methods for the R generic commands coef, extractAIC, formula, logLik, deviance, nobs, print, summary, terms, update and vcov, and the spatstat generic commands as.linnet, emend, response and valid, for the class "lppm".

Value

For as.linnet.lppm a linear network (object of class "linnet"). For emend.lppm another fitted model of the same class "lppm". For response.lppm a spatial point pattern on a linear network (object of class "lpp"). For valid.lppm a logical value.

For the other methods, see the help for the default methods.

Author(s)

\spatstatAuthors

.

See Also

lppm, plot.lppm.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
  X <- runiflpp(15, simplenet)
  fit <- lppm(X ~ x)
  print(fit)
  coef(fit)
  formula(fit)
  terms(fit)
  logLik(fit)
  deviance(fit)
  nobs(fit)
  extractAIC(fit)
  update(fit, ~1)
  valid(fit)
  vcov(fit)
  response(fit)

spatstat.linnet documentation built on July 17, 2021, 9:07 a.m.