"owin"
.as.owin(W)
"owin"
(see owin.object
)
specifying an observation window."owin"
is a way of specifying the observation window
for a point pattern. See owin.object
for an overview.
This function converts data in any of several formats
into an object of class "owin"
for use by the spatstat
package. The argument W
may be
"owin"
xrange
,yrange
specifying the$x$and$y$dimensions of a rectangle(xmin, xmax, ymin, ymax)
)
specifying the$x$and$y$dimensions of a rectanglexl
,xu
,yl
,yu
specifying the$x$and$y$dimensions of a rectangle
as(xmin, xmax) = (xl, xu)
and(ymin, ymax) = (yl, yu)
. This will accept objects of
classspp
used in the Venables and Ripleyspatial
library.ppp
(in which case the object'swindow
structure will be
extracted).owin.object
,
owin
library(spatstat)
w <- as.owin(c(0,1,0,1))
Run the code above in your browser using DataLab