R: Test Whether An Object Is A Window

is.owin {spatstat} | R Documentation

## 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.

### 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.

### Value

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

### Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner r.turner@auckland.ac.nz

[Package spatstat version 1.54-0 Index]