| as.fv.kppm {spatstat.model} | R Documentation |
Convert Fitted Model To Class fv
Description
Converts fitted model into a function table (an object of class "fv").
Usage
## S3 method for class 'kppm'
as.fv(x)
## S3 method for class 'dppm'
as.fv(x)
## S3 method for class 'minconfit'
as.fv(x)
Arguments
x |
A fitted model which will be converted into a function table |
Details
The generic command as.fv converts data x, that
could be interpreted as the values of a function,
into a function value table (object of the class "fv"
as described in fv.object). This object can then
be plotted easily using plot.fv.
Objects of class "kppm" (and related classes) represent
a model that has been fitted to a dataset
by computing a summary function of the dataset and
matching it to the corresponding summary function of the model.
The methods for as.fv for classes "kppm",
"dppm" and "minconfit" extract this information:
the result is a function table containing the
observed summary function and the best fit summary function.
Value
An object of class "fv" (see fv.object).
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk
Examples
as.fv(kppm(redwood))