Learn R Programming

spatstat.geom (version 3.3-2)

is.owin: Test Whether An Object Is A Window

Description

Checks whether its argument is a window (object of class "owin").

Usage

is.owin(x)

Value

TRUE if x is a point pattern, otherwise FALSE.

Arguments

x

Any object.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner rolfturner@posteo.net

Details

This function tests whether the object x is a window object of class "owin". See owin.object for details of this class.

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