Subset stations by extent

Share:

Description

Subset the stations table, selecting stations located within a certain extent (bounding box)

Usage

1

Arguments

extent

vector of length 4: c(xmin,xmax,ymin,ymax)

stations

data frame containing the stations data

Value

data frame

Author(s)

Jacob van Etten

Examples

1
2
3
4
data(stations)
Extent <- c(10,20,10,20)
stationsExtent(Extent,stations)