indicesWT | R Documentation |
Calculate circulation indices of grids or multimember grids.
indicesWT(grid, cluster.type, centers = NULL, base = NULL, ref = NULL)
grid |
A grid (gridded or station dataset), or multimember grid object. |
cluster.type |
Weather type clustering method. See details. |
centers |
Integer value indicating the number of clusters, k, or center points. See details. |
base |
Baseline grid to be substracted for the calculation of anomalies. Default: NULL. See |
ref |
Reference grid to be added for the calculation of anomalies. Default: NULL. See |
The clustering parameters for weather typing are internally passed to clusterGrid
.
The function calculates the weather types from the season especified as a whole.
The WT circulation indices (and members, if applicable) with:
index: vector with the corresponding cluster from each point of the series.
pattern: Array with the spatial pattern of the clusters obtained.
dates and coordinates.
further arguments related to the WT indices, such as the corresponding cluster type, number of clusters, etc.
## Not run:
data(NCEP_slp_2001_2010)
wt <- indicesWT(grid=NCEP_slp_2001_2010, cluster.type="kmeans", centers = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.