plot.codgroup: Plot diagnostic for a codgroup object

Description Usage Arguments Details See Also Examples

View source: R/plot.codgroup.r

Description

Four plots (selectable by which) are currently available. They provide details on the clustering process that led to the suggested grouping.

Usage

1
2
## S3 method for class 'codgroup'
plot(x, which, ...)

Arguments

x

codgroup object resulting from a call to the codgroup function

which

which type of plot to be produced (see details)

...

other parameters to be passed through to plotting functions

Details

Four plots are curently available.

which = 1

Dendrogram from the hierarchical clustering algorithm

which = 2

Plot a list of different criteria for each possible values of k.

which = 3

Plot the clusters on the plan between the first two dimensions of a Principal Component Analysis.

which = 4

Plot the first difference of the force of mortality pooled by cluster.

See Also

codgroup

Examples

1
2
3
4
5
data(USA2000m)

grouping <- codgroup(USA2000m, k = "HGSD", x.range = 10:34)

plot(grouping, which = 3)

MortHump documentation built on Jan. 24, 2018, 6:02 p.m.