Description Usage Value Examples
View source: R/anem_geoprocessing.R
Check to see if one or more points falls within aquifer boundaries.
1 | check_point_in_aquifer(x, y, aquifer)
|
Function returns TRUE
if the point is inside aquifer boundaries or on the boundary. If the point is outside
the boundaries, returns FALSE
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
aquifer <- aquifer_unconfined_example
x <- 100
y <- 100
x <- seq(0,100,by=50)
y <- seq(0,100,by=50)
check_point_in_aquifer(200,200,aquifer)
check_point_in_aquifer(-200,0,aquifer)
check_point_in_aquifer(seq(0,100,by=50),seq(0,100,by=50),aquifer)
check_point_in_aquifer(seq(0,1000,by=500),seq(0,100,by=500),aquifer)
x <- rep(500,3)
y <- seq(0,1000,by=500)
check_point_in_aquifer(x,yseq(0,1000,by=500),aquifer)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.