Learn R Programming

spatstat.geom (version 2.1-0)

WindowOnly: Extract Window of Spatial Object

Description

Given a spatial object (such as a point pattern or pixel image) in two dimensions, these functions extract the window in which the object is defined.

Usage

# S3 method for quad
Window(X, …)

# S3 method for quadratcount Window(X, …)

# S3 method for tess Window(X, …)

# S3 method for layered Window(X, …)

# S3 method for distfun Window(X, …)

# S3 method for nnfun Window(X, …)

# S3 method for funxy Window(X, …)

Arguments

X

A spatial object.

Ignored.

Value

An object of class "owin" (see owin.object) specifying an observation window.

Details

These are methods for the generic function Window which extract the spatial window in which the object X is defined.

See Also

Window, Window.ppp, Window.psp.

owin.object

Examples

Run this code
# NOT RUN {
   X <- quadratcount(cells, 4)
   Window(X)
# }

Run the code above in your browser using DataLab