basinStats | R Documentation |
Returns the statistics describing a basin contained in an ArcGIS .asc
file,
either a DEM or a water layer. The points outside the basin must be coded as missing.
basinStats(asc_file)
asc_file |
Required. A text |
If successful, returns a vector containing the following values
Number of rows in the file
Number of cols in the file
Width of each cell. Typically in metres, could be in degrees
Number of cells outside the basin
Number of cells inside the basin
Basin area in units of cell_size
squared
## Not run: stats <- basinStats("StDenis.asc") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.