ApplyWindow {intensitynet} | R Documentation |
Retrieve an intensitynet object focused on a given area
Description
Get the intensitynet object delimited by the given window
Usage
ApplyWindow(obj, x_coords, y_coords)
## S3 method for class 'intensitynet'
ApplyWindow(obj, x_coords, y_coords)
Arguments
obj |
intensitynet object |
x_coords |
vector containing the x coordinate limits of the window |
y_coords |
vector containing the y coordinate limits of the window |
Value
intensitynet object delimited by the window (sub-part of the original)
Examples
data("und_intnet_chicago")
sub_intnet_chicago <- ApplyWindow(und_intnet_chicago,
x_coords = c(300, 900),
y_coords = c(500, 1000))
[Package intensitynet version 1.4.0 Index]