search for: bench1_1k

Displaying 1 result from an estimated 1 matches for "bench1_1k".

2012 Oct 07
2
Reshape2, melt, order of categorical variable and ggplot2
...the following data frame: > df V1 V2 V3 1 bench1_10 16675 16678 2 bench1_10 16585 16672 3 bench1_100 183924 185563 4 bench1_100 169310 184806 5 bench1_300 514430 516834 6 bench1_300 510743 514062 7 bench1_500 880146 877882 8 bench1_500 880146 857359 9 bench1_1k 880146 1589600 10 bench1_1k 880146 1709990 > I'd like to melt it by using id=V1: > mdf <- melt(df) Using V1 as id variables > mdf V1 variable value 1 bench1_10 V2 16675 2 bench1_10 V2 16585 3 bench1_100 V2 183924 4 bench1_100 V2 16...