Summary of a list of partition obtained with the method hclustgeo.

Share:

Description

This function provide some results of several clustering obtained with hclustgeo

Usage

1
2
3
4
## S3 method for class 'hclustgeo'
plot(x, choice = "maps", choice.alpha = NULL,
  K.range = c(3:5), path.shp = NULL, name.ind.shp = NULL,
  save.pdf = FALSE, path.pdf = NULL, ...)

Arguments

x

an object of class 'hclustgeo' obtained with hclustgeo.

choice

one of the following character strings: 'dendro' if the user wishes to plot the dendrogram; 'maps' if the user wants to plot the partitions (in K.range clusters) on a map; 'quality' if the user wants to plot the qualities of partitions in order to choose a value for the parameter alpha.

choice.alpha

a vector containig the values of parameter of alpha the user wants to plot. If NULL all the values computed in hclustgeo are used.

K.range

a vector containing several values of K for which the user wishes to display plots in K clusters. If NULL, the value of K.range is c(3,4,5).

path.shp

a character string containing the path where are the polygonial shapefiles (.shp, .dbf and .shx) to plot the maps of the typologies. If NULL, the working directory is used.

name.ind.shp

a character string containing the identifier of observations in the dbf file.

save.pdf

a boolean, if TRUE, graphics obtained are saved in pdf format. Default is FALSE.

path.pdf

if save.pdf=TRUE, a character string containing the path where the user wishes to save generated pdf files. Default is the working directory.

...

other arguments to be passed

Value

different results and map about the result of the clustering. When the plot method is used with choice = "quality" numerical values corresponding to the quality plot are also returned.