is.boxx: Recognise a Multi-Dimensional Box

View source: R/ppx.R

is.boxxR Documentation

Recognise a Multi-Dimensional Box

Description

Checks whether its argument is a multidimensional box (object of class "boxx").

Usage

  is.boxx(x)

Arguments

x

Any object.

Details

This function tests whether the object x is a multidimensional box of class "boxx".

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

Value

A logical value.

Author(s)

\spatstatAuthors

See Also

methods.boxx, boxx.

Examples

   B <- boxx(c(0,10),c(0,10),c(0,5),c(0,1), unitname="km")
   is.boxx(B)
   is.boxx(42)

spatstat.geom documentation built on Oct. 20, 2023, 9:06 a.m.