Learn R Programming

spatstat (version 1.31-3)

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)

Arguments

x
Any object.

Value

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

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.