Hi Paul,
Thank you for the ggplot2 suggestions.
Please note that during the last few hours, Hadley has put up his own
ggplot2 implementation of the clustergram.
I updated about it in the original post:
http://www.r-statistics.com/2010/06/clustergram-visualization-and-diagnostics-for-cluster-analys
Hi Tal,
I you use ggplot you can use the alpha command to make lines
transparent. The nice thing is that when they overlap, the transparency
adds up. I use this a lot to visualize outcomes from ensemble modelling
(e.g. time series of RMSE).
A small example:
library(ggplot2)
dat = data.frame
Hello Hadley, Tormod and every one else.
I just published a post on my blog, giving the code and presenting an
example of it's use (on the Iris data set)
http://www.r-statistics.com/2010/06/clustergram-a-graph-for-visualizing-cluster-analyses-r-code/
I welcome any comments (pitfalls, suggestions
Hi Hadley,
I wrapped the code into a function.
I made it so all the lines would always start from the cluster mean.
And I tried to give more meaning to the colors by giving the
color according the the order of the first principal component of that
observation.
What do you think ?
Tal
# -
> The glitches are the cases where you would have a bundle of lines belonging
> to a specific cluster, but had spaces between them (because the place of one
> of the lines was saved for another line that in the meantime moved to
> another cluster).
I think that display looked just fine!
> I just
Hi Hadley,
Thanks for replying.
The glitches are the cases where you would have a bundle of lines belonging
to a specific cluster, but had spaces between them (because the place of one
of the lines was saved for another line that in the meantime moved to
another cluster).
I just came up with a so
> My current solution is to use a constant jitter (based on "seq") on all the
> k number of clusters, but that causes glitches in the produced image (run my
> code to see).
What are the glitches? It looks pretty good to me. (I'm not sure if
the colour does anything apart from make it pretty thou
## The grouped boxplot is one of the features included in the HH package.
## You will need to install HH if you do not yet have the HH package
## A similar example is posted on my website
##http://astro.ocis.temple.edu/~rmh/HH/bwplot-color.pdf
## This is fake data which I hope mimics the struc
8 matches
Mail list logo