plot.loccit | R Documentation |
Plot an object of class "loccit"
representing a locally-fitted cluster or Cox point process model.
## S3 method for class 'loccit' plot(x, ..., what = c("modelpar", "coefs", "lambda"), how = c("smoothed", "exact"), which = NULL, pre=NULL, post=NULL)
x |
The model to be plotted.
A locally-fitted cluster or Cox point process model (object of class
|
... |
Arguments passed to |
what |
Character string determining which quantities to display:
|
how |
Character string determining whether to display the
fitted parameter values at the data points ( |
which |
Optional. Which component(s) of the vector-valued quantity to display. An index or index vector. Default is to plot all components. |
pre,post |
Transformations to apply before and after smoothing. |
This is a method for the generic command plot
for the class "loccit"
.
The argument which
, if present, specifies
which fitted parameters are displayed. It may be any kind of
index for a numeric vector.
The quantities are computed at irregularly-placed points.
If how="exact"
the exact computed values
will be displayed as circles centred at the locations where they
were computed. If how="smoothed"
these
values will be kernel-smoothed using Smooth.ppp
and displayed as a pixel image.
NULL
.
.
loccit
,
plot
, plot.default
X <- redwood[owin(c(0,1), c(-1,-1/2))] fitc <- loccit(X, ~1, "Thomas", nd=5, control=list(maxit=20)) plot(fitc, how="exact") plot(fitc, how="smoothed")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.