plotAvgCurves {clues} | R Documentation |
Average trajectory plot for each cluster.
plotAvgCurves(y, mem, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, las = NULL, lwd = NULL, ...)
y |
data matrix which is an R matrix object (for dimension > 1) or vector object (for dimension=1) with rows being observations and columns being variables. |
mem |
vector of the cluster membership of data points. The cluster membership takes values: 1, 2, …, g, where g is the estimated number of clusters. |
xlab |
a title for the x axis. If |
ylab |
a title for the y-axis. If |
xlim |
range of x-axis. If |
ylim |
range of y-axis. If |
las |
numeric in 0,1,2,3; the style of axis labels (see |
lwd |
the line width, a positive number, defaulting to 1 (see
|
... |
graphical parameters (see |
Wang, S., Qiu, W., and Zamar, R. H. (2007). CLUES: A non-parametric clustering method based on local shrinking. Computational Statistics & Data Analysis, Vol. 52, issue 1, pages 286-298.
data(Curve) # data matrix curve <- Curve$curve # 'true' cluster membership curve.mem <- Curve$curve.mem # 'true' number of clusters nClust <- length(unique(curve.mem)) # plot average trajectories plotAvgCurves(curve, curve.mem)