as.box3

0th

Percentile

Convert Data to Three-Dimensional Box

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

Keywords
manip, spatial
Usage
as.box3(...)
Arguments
...
Data that can be interpreted as giving the dimensions of a three-dimensional box. See Details.
Details

This function converts data in various formats to an object of class "box3" representing a three-dimensional box (see box3). The arguments ... may be

  • an object of class"box3"
  • arguments acceptable tobox3
  • a numeric vector of length 6, interpreted asc(xrange[1],xrange[2],yrange[1],yrange[2],zrange[1],zrange[2])
  • an object of class"pp3"representing a three-dimensional point pattern contained in a box.

Value

  • Object of class "box3".

See Also

box3, pp3

Aliases
  • as.box3
Examples
X <- c(0,10,0,10,0,5)
    as.box3(X)
    X <- pp3(runif(42),runif(42),runif(42), box3(c(0,1)))
    as.box3(X)
Documentation reproduced from package spatstat, version 1.18-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.