Learn R Programming

spatstat.core (version 2.3-1)

is.ppm: Test Whether An Object Is A Fitted Point Process Model

Description

Checks whether its argument is a fitted point process model (object of class "ppm", "kppm", "lppm" or "slrm").

Usage

is.ppm(x)
is.kppm(x)
is.lppm(x)
is.slrm(x)

Arguments

x

Any object.

Value

A single logical value.

Details

These functions test whether the object x is a fitted point process model object of the specified class.

The result of is.ppm(x) is TRUE if x has "ppm" amongst its classes, and otherwise FALSE. Similarly for the other functions.