hydrocluster | R Documentation |
K-means clustering of a hydroclimatic time series, e.g., precipitation, streamflow, and evaluation by silhouette (Rau et al, 2017). Spatial visualization and control quality by silhouettes.
hydrocluster(file,shp,clusters)
file: A dataframe object including head station names, latitude, longitude and monthly or annual data
shp: A spatial object, a polygon shapefile of study region
clusters: A numeric value, number of clusters
hydrocluster(file=database4,shp=region,clusters=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.