Methods for the class "leverage.ppm"
.
# S3 method for leverage.ppm
as.im(X, …, what=c("smooth", "nearest")) # S3 method for leverage.ppm
as.owin(W, …, fatal=TRUE)
# S3 method for leverage.ppm
domain(X, …)
# S3 method for leverage.ppm
integral(f, domain, …)
# S3 method for leverage.ppm
mean(x, …)
# S3 method for leverage.ppm
Smooth(X, …)
# S3 method for leverage.ppm
Window(X, …)
An object of class "leverage.ppm"
.
Optional. Domain of integration: a window (class "owin"
)
or a tessellation (class "tess"
).
Additional arguments. See Details.
Logical value indicating what to do if the data cannot be
converted to a window. If fatal=TRUE
(the default)
an error occurs. If fatal=FALSE
a value of NULL
is returned.
Character string (partially matched) specifying which image data
should be extracted. See plot.leverage.ppm
for
explanation.
A window (object of class "owin"
) for
as.owin
, domain
and Window
.
A numeric value or numeric vector for integral
.
A pixel image, or list of pixel images, for as.im
and Smooth
.
These functions are methods for the class "leverage.ppm"
.
An object of this class
represents the leverage measure of a fitted point process model
(see leverage.ppm
).
For as.im
, domain
and Window
,
additional arguments (…
) are ignored.
For as.owin
, integral
, mean
and Smooth
,
additional arguments are passed to the method for class "im"
.
leverage.ppm
, plot.leverage.ppm
,
[.leverage.ppm
, as.function.leverage.ppm
.
# NOT RUN {
fit <- ppm(cells ~ x)
a <- leverage(fit)
integral(a)
# }
Run the code above in your browser using DataLab