clusterGrid_2D: Cluster analysis of 2D matrix

View source: R/clusterGrid.R

clusterGrid_2DR Documentation

Cluster analysis of 2D matrix

Description

Performs cluster analysis of 3D grids. Several clustering algorithms are available.

Usage

clusterGrid_2D(grid.2D, type, centers, ...)

Arguments

type

Clustering algorithm to be used for the cluster analysis. Possible values are "kmeans" (default), "hierarchical", "som". The core functions are kmeans, hclust, som, respectively. See Details.

centers

Integer value indicating the number of clusters, k, or center points. See Details.

...

Further specific arguments passed to the clustering functions

grid

A grid (gridded or station dataset), multigrid, multimember grid or multimember multigrid object

Value

A matrix object that contains the clusters centroids' created using the specified algorithm. The clustering type, number of clusters, cluster index of each day and other algorithm-specific parameters are provided as attributes.

Author(s)

J. A. Fernandez


SantanderMetGroup/transformeR documentation built on Nov. 25, 2024, 1:25 p.m.