Converts fitted model into a function table (an object of class "fv").
# S3 method for kppm
as.fv(x) # S3 method for dppm
as.fv(x)
# S3 method for minconfit
as.fv(x)
An object of class "fv" (see fv.object).
A fitted model which will be converted into a function table
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk
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 "dppm" represent
a point process model that has been fitted to a point pattern dataset.
By default, the fitting is performed by the method of moments,
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 theoretical summary function
for the model of best fit.
If the object x was created by
kppm or dppm
using a non-default value of the argument method,
then the model was fitted in a different way (namely by maximising a
surrogate for the likelihood). In this case as.fv(x)
computes an empirical estimate of the pair correlation function
using pcf or pcfinhom,
and computes the theoretical pair correlation function of the fitted
model using pcfmodel.kppm. Again these two functions are
returned in a function table.