Re: [R] extend data frame for plotting heat map in ggplot2

2012-04-11 Thread Hadley Wickham
On Sun, Apr 1, 2012 at 9:16 AM, Till Bayer wrote: > Hi all! > > I want to generate a heat map from an all-vs-all comparison. I have the > data, already scaled to 0-1. However, I have the values only for the > comparisons in one way, and not for the comparisons between the same group > (which are a

[R] extend data frame for plotting heat map in ggplot2

2012-04-01 Thread Till Bayer
Hi all! I want to generate a heat map from an all-vs-all comparison. I have the data, already scaled to 0-1. However, I have the values only for the comparisons in one way, and not for the comparisons between the same group (which are always 1), i.e. I have half the matrix and am missing the