pclen {gclus} | R Documentation |
Computes measures of profile smoothness of 2-d data,
where x
and y
give the object coordinates.
pclen(x, y) pcglen(x, y)
x |
is a numeric vector. |
y |
is a numeric vector. |
Usually, the data is standardized prior to using these functions.
Catherine B. Hurley
Hurley, Catherine B. ``Clustering Visualisations of Multidimensional Data'', to appear in JCGS.
cparcoord
,
colpairs
, order.endlink
.
x <- runif(20) y <- runif(20) pclen(x,y) data(state) mins <- apply(state.x77,2,min) ranges <- apply(state.x77,2,max) - mins state.m <- -colpairs(scale(state.x77,mins,ranges), pclen) state.col <- dmat.color(state.m) cparcoord(state.x77, panel.color= state.col) # Get rid of the panels with long line segments (yellow) by reordering: cparcoord(state.x77, order.endlink(state.m), state.col)