with.locmincon {spatstat.local} | R Documentation |
Evaluate an Expression for a Locally Fitted Model
Description
Given a locally-fitted Cox or cluster point process model, evaluate an expression involving the fitted cluster parameters.
Usage
## S3 method for class 'locmincon'
with(data, ...)
## S3 method for class 'loccit'
with(data, ...)
Arguments
data |
An object of class |
... |
Arguments passed to |
Details
These are method for the generic function with
for
the classes "locmincon"
and "loccit"
.
An object of class "locmincon"
or "loccit"
represents
a locally-fitted Cox or cluster point process model.
It contains a data frame
which provides estimates of the cluster parameters at each of the
data points of the original point pattern dataset.
The expression specified by ...
will be evaluated
in this dataframe. If the result of evaluation
is a data frame with one row for each data point,
or a numeric vector with one entry for each data point,
then the result will be an object of class "ssf"
containing this information. Otherwise, the result will be
a numeric vector.
Value
An object of class "ssf"
or a numeric vector.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au.
See Also
Examples
example(locmincon)
with(fit, kappa * sigma2)
example(locmincon)
with(fit, kappa * sigma2)