plot.locppm | R Documentation |
Plot an object of class "locppm"
representing a locally-fitted Poisson or Gibbs point process model.
## S3 method for class 'locppm' plot(x, ..., what = "cg", which = NULL) ## S3 method for class 'locppm' contour(x, ..., what = "cg", which = NULL)
x |
A locally-fitted Poisson or Gibbs point process model (object of class
|
... |
Arguments passed to |
what |
What quantity to display. A character string. The default is to display the fitted coefficient vectors. |
which |
Which component(s) of the vector-valued quantity to display. An index or index vector. |
These are methods for the generic commands plot
and contour
, for the class "locppm"
.
The argument what
specifies what quantity will be displayed:
"cg" | Fitted coefficients of local model |
"vg" | Local variance matrix for Gibbs model |
"vh" | Local variance matrix for homogeneous model |
"tg" | t-statistics based on "coefs" and "vg"
|
Typically these quantities are vector-valued (matrices are converted
to vectors). The argument which
, if present, specifies
which elements of the vector are displayed. It may be any kind of
index for a numeric vector.
The plotting is performed by plot.ssf
.
NULL
.
.
locppm
,
methods.locppm
,
plot
, plot.default
fit <- locppm(swedishpines, ~1, sigma=9, nd=20, vcalc="hessian", locations="coarse") plot(fit) plot(fit, what="Vg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.