powered by
Four plots (selectable by which) are currently available. They provide details on the clustering process that led to the suggested grouping.
which
# S3 method for codgroup plot(x, which, ...)
codgroup object resulting from a call to the codgroup function
which type of plot to be produced (see details)
other parameters to be passed through to plotting functions
Four plots are curently available.
Dendrogram from the hierarchical clustering algorithm
Plot a list of different criteria for each possible values of k.
k
Plot the clusters on the plan between the first two dimensions of a Principal Component Analysis.
Plot the first difference of the force of mortality pooled by cluster.
codgroup
# NOT RUN { data(USA2000m) grouping <- codgroup(USA2000m, k = "HGSD", x.range = 10:34) plot(grouping, which = 3) # }
Run the code above in your browser using DataLab