View source: R/waterPatchElevation.R
waterPatchElevation | R Documentation |
Calculates mean elevations of patches of water
waterPatchElevation( waterFile, threshold = 0.001, DEMfile, quiet = TRUE, return = "raster" )
waterFile |
Required. ArcGIS .asc file of water from WDPM. |
threshold |
Optional. Threshold (in m) to discriminate water. Defaul is 0.001 m. |
DEMfile |
Required. ArcGIS .asc file of DEM elevations. |
quiet |
Optional. If |
return |
Optional. If raster, then returns a raster of the patch elevations. If patch_vals, returns a data frame of patch properies. Otherwise, returns both. |
Returns patch mean elevations.
## Not run: waterFile = "300_0_0_0_d.asc", DEMfile="basin5.asc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.