| methods.locppm | R Documentation |
Methods for various generic functions, for the class
"locppm" of locally fitted Gibbs point process models.
## S3 method for class 'locppm'
as.interact(object)
## S3 method for class 'locppm'
as.ppm(object)
## S3 method for class 'locppm'
coef(object, ..., which = c("local", "homogeneous"))
## S3 method for class 'locppm'
confint(object, parm, level = 0.95, ..., which = c("local", "homogeneous"))
## S3 method for class 'locppm'
is.poisson(x)
## S3 method for class 'locppm'
print(x, ...)
object, x |
A locally-fitted Gibbs point process model (object of class
|
... |
Additional arguments passed to the default method
(for |
which |
Character string determining whether to perform calculations
for the local Gibbs model ( |
parm |
The parameter or parameters for which a confidence interval is
desired. A character string or character vector matching the names
of |
level |
Confidence level: a number between 0 and 1. |
Objects of class "locppm" represent locally fitted Gibbs
point process models.
The functions documented here provided methods for this class,
for the generic functions
as.interact,
as.ppm,
coef,
confint,
is.poisson
and
print.
For the coef and confint methods, the calculations
can be performed either on the locally fitted model or
on its homogeneous equivalent, by changing the argument which.
as.interact returns an interaction structure (object of class
"interact").
as.ppm returns a fitted Gibbs model (object of class
"ppm").
coef and confint
return a numeric vector if which="homogeneous"
and an object of class "ssf" if which="local".
is.poisson returns a logical value.
print returns NULL.
Adrian Baddeley
locppm
fit <- locppm(swedishpines, ~1, sigma=9, nd=20,
vcalc="full", locations="coarse")
fit
is.poisson(fit)
coef(fit)
coef(fit, which="homogeneous")
confint(fit)
confint(fit, which="homogeneous")
as.ppm(fit)
as.interact(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.