library(MazamaCoreUtils)
createLocationMask(
longitude = c(-120, NA, -120, -220, -120, 0),
latitude = c(45, 45, NA, 45, 100, 0)
)
createLocationMask(
longitude = c(-120:-90),
latitude = c(20:50),
lonRange = c(-110, -100),
latRange = c(30, 40)
)
Run the code above in your browser using DataLab