is.boxx {spatstat.geom} | R Documentation |
Checks whether its argument is a multidimensional box
(object of class "boxx"
).
is.boxx(x)
x |
Any object. |
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.
A logical value.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk
B <- boxx(c(0,10),c(0,10),c(0,5),c(0,1), unitname="km")
is.boxx(B)
is.boxx(42)