Extract the window frame of a window or other spatial dataset
A window, or a dataset that has a window.
Either a window (object of class
Optional. Auxiliary data to help determine the window. If
This function is the quickest way to determine a bounding rectangle for a spatial dataset.
w is a window, the function
just extracts the outer bounding rectangle
w as given by its elements
The function can also be applied to any spatial dataset that has a window:
for example, a point pattern (object of class
a line segment pattern (object of class
The bounding rectangle of the window of the dataset is extracted.
Use the function
boundingbox to compute the smallest
bounding rectangle of a dataset.
A window (object of class
"rectangle" representing a rectangle.
w <- owin(c(0,10),c(0,10), poly=list(x=c(1,2,3,2,1), y=c(2,3,4,6,7))) r <- as.rectangle(w) # returns a 10 x 10 rectangle data(lansing) as.rectangle(lansing) data(copper) as.rectangle(copper$SouthLines)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.