[R] How to colour specific edges in a dendrogram

2011-08-01 Thread Jan Teichmann
Dear Mailing-list I used hclust to make a dendrogram of 2613 leafs. I also have a list with the names of certain labels which are of interest and I would like to visualize their appearance within the dendrogram. I found an example how to use dendrapply to colour the labels but the problem is that

Re: [R] problems hist() and density

2009-07-27 Thread Jan Teichmann
Thank you. I'm sorry for my question. Sure, I've to integrate a density function to get the probabilities... I didn't noticed the small breaks and that's why I was confused. I expected a histogram with probabilities for the realizations. Am Sonntag, den 26.07.2009, 14:27 -0400 schrieb jim

[R] problems hist() and density

2009-07-26 Thread Jan Teichmann
Hello, I have a problem with the hist() function and showing densities. The densities sum to 50 and not to 1! I use R version 2.9.1 (2009-06-26) and I load the seqinR library. My data is the following vector: [1] 0.140 0.200 0.220 0.2828283 0.160 0.160 0.360 [8] 0.160