WindowOnly

0th

Percentile

Extract Window of Spatial Object

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.

Keywords
manip, spatial
Usage
# S3 method for ppm
Window(X, …, from=c("points", "covariates"))

# S3 method for kppm Window(X, …, from=c("points", "covariates"))

# S3 method for dppm Window(X, …, from=c("points", "covariates"))

# S3 method for lpp Window(X, …)

# S3 method for lppm Window(X, …)

# S3 method for msr Window(X, …)

# S3 method for quad Window(X, …)

# S3 method for quadratcount Window(X, …)

# S3 method for quadrattest 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, …)

# S3 method for rmhmodel Window(X, …)

# S3 method for leverage.ppm Window(X, …)

# S3 method for influence.ppm Window(X, …)

Arguments
X

A spatial object.

Ignored.

from

Character string. See Details.

Details

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

The argument from applies when X is a fitted point process model (object of class "ppm", "kppm" or "dppm"). If from="data" (the default), Window extracts the window of the original point pattern data to which the model was fitted. If from="covariates" then Window returns the window in which the spatial covariates of the model were provided.

Value

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

See Also

Window, Window.ppp, Window.psp.

owin.object

Aliases
  • Window.ppm
  • Window.kppm
  • Window.dppm
  • Window.lpp
  • Window.lppm
  • Window.msr
  • Window.quad
  • Window.quadratcount
  • Window.quadrattest
  • Window.tess
  • Window.layered
  • Window.distfun
  • Window.nnfun
  • Window.funxy
  • Window.rmhmodel
  • Window.leverage.ppm
  • Window.influence.ppm
Examples
# NOT RUN {
   X <- quadratcount(cells, 4)
   Window(X)
# }
Documentation reproduced from package spatstat, version 1.57-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.