as.boxx: Convert Data to Multi-Dimensional Box

Description Usage Arguments Details Value Author(s) Examples

View source: R/ppx.R

Description

Interprets data as the dimensions of a multi-dimensional box.

Usage

1
  as.boxx(..., warn.owin = TRUE)

Arguments

...

Data that can be interpreted as giving the dimensions of a multi-dimensional box. See Details.

warn.owin

Logical value indicating whether to print a warning if a non-rectangular window (object of class "owin") is supplied.

Details

Either a single argument should be provided which is one of the following:

or a list of arguments acceptable to boxx.

Value

A "boxx" object.

Author(s)

\adrian \rolf

and \ege

Examples

1
2
3
4
5
 # Convert unit square to two dimensional box.
 W <- owin()
 as.boxx(W)
 # Make three dimensional box [0,1]x[0,1]x[0,1] from numeric vector
 as.boxx(c(0,1,0,1,0,1))

spatstat.geom documentation built on April 15, 2021, 9:06 a.m.