plot.seqclararange: Plot of cluster quality of CLARA algorithm.

View source: R/plot.seqclararange.R

plot.seqclararangeR Documentation

Plot of cluster quality of CLARA algorithm.

Description

Plot of the cluster quality of a seqclararange object.

Usage

## S3 method for class 'seqclararange'
plot(x, stat = "CQI", type = "o", main = NULL, 
  xlab = "Number of clusters", ylab = stat, col = "blue", 
	legend.pos = "topright", pch = 19, norm = "none", ...)

Arguments

x

seqclararange object, see seqclararange

stat

Character. The cluster quality indice to plot, namely one of "CQI" (default) to plot the value of the cluster quality indices by number of groups, "stability" to count the number of recovery of the best partition or "stabmean" to presents the average stability of the clustering.

type

Character. The type of line to draw. Possible types are "l" (lines), "p" points or "o" to plot both.

main

Character. The overall title of the plot: see title.

xlab

x axis label.

ylab

y axis label.

col

A vector of line colors, see par. If NULL, a default set of color is used.

legend.pos

Character. legend position, see legend.

pch

The plotting characters or symbols: see points.

norm

Character. Normalization method of the statistics can be one of "none" (no normalization), "range" (given as (value -min)/(max-min), "zscore" (adjusted by mean and standard deviation) or "zscoremed" (adjusted by median and median of the difference to the median).

...

Additionnal parameters passed to/from methods.

References

Studer, M., R. Sadeghi and L. Tochon (2024). Sequence Analysis for Large Databases. LIVES Working Papers 104 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.12682/lives.2296-1658.2024.104")}

See Also

See seqclararange to produce a clustering objects.


WeightedCluster documentation built on Oct. 2, 2024, 5:06 p.m.