Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.rectangle

Determine Type of Window


Description

Determine whether a window is a rectangle, a polygonal region, or a binary mask.

Usage

is.rectangle(w)
  is.polygonal(w)
  is.mask(w)

Arguments

w

Window to be inspected. An object of class "owin".

Details

These simple functions determine whether a window w (object of class "owin") is a rectangle (is.rectangle(w) = TRUE), a domain with polygonal boundary (is.polygonal(w) = TRUE), or a binary pixel mask (is.mask(w) = TRUE).

Value

Logical value, equal to TRUE if w is a window of the specified type.

Author(s)

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

See Also


spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.