spatstat (version 1.31-1.1)

is.ppp: Test Whether An Object Is A Point Pattern

Description

Checks whether its argument is a point pattern (object of class "ppp").

Usage

is.ppp(x)

Arguments

x
Any object.

Value

  • TRUE if x is a point pattern, otherwise FALSE.

Details

This function tests whether the object x is a point pattern object of class "ppp". See ppm.object for details of this class.

The result is determined to be TRUE if x inherits from "ppp", i.e. if x has "ppp" amongst its classes.