powered by
Interprets data as the dimensions of a three-dimensional box.
as.box3(...)
Object of class "box3".
"box3"
Data that can be interpreted as giving the dimensions of a three-dimensional box. See Details.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner rolfturner@posteo.net
This function converts data in various formats to an object of class "box3" representing a three-dimensional box (see box3). The arguments ... may be
box3
...
an object of class "box3"
arguments acceptable to box3
a numeric vector of length 6, interpreted as c(xrange[1],xrange[2],yrange[1],yrange[2],zrange[1],zrange[2])
c(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.
"pp3"
box3, pp3
pp3
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)
Run the code above in your browser using DataLab