ApplyWindow: Retrieve an intensitynet object focused on a given area

View source: R/intensitynet.R

ApplyWindowR 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))


intensitynet documentation built on April 11, 2023, 6:07 p.m.