Displaying 2 results from an estimated 2 matches for "alexreynold".
Did you mean:
alexreynolds
2009 May 02
1
lattice levelplot axis + custom annotations
How would I set the "scales" property of a lattice levelplot, so that
I can add specific annotations at specific positions?
For example, I have a 200 x 1000 element levelplot. Along the y-axis
(along the 1000-element axis) I would like to add annotations on the
left side of the levelplot at elements 120, 300, 500, and 805, which
represent clusters of interest.
Currently I have
2009 Apr 03
0
dendrogram rect.hclust() not working?
...leaves 5 and 6.
Also, the "ma" variable is returning the correct leaf range (between 5
and 6, inclusively), so I know I'm passing the correct leaf range to
the rect.hclust() function.
But in my graphical output, I get two rects at positions 6 and 7:
http://www.flickr.com/photos/alexreynolds/3409263765/sizes/o/
This doesn't seem to be an offset issue, for two reasons:
1. I am getting two rects, not one. Looking at the output from the
print(r) statement, I see why two rects are drawn:
[[1]]
+v_stat1_01
273
[[2]]
+v_e2f1_q6_01
326
2. When I re-run the scri...