as.fv.kppm: Convert Fitted Model To Class fv

as.fv.kppmR 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)

\spatstatAuthors

Examples

  as.fv(kppm(redwood))

spatstat.model documentation built on Oct. 23, 2023, 9:07 a.m.