search for: scale_y_log2

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

Did you mean: scale_y_log
2011 Mar 17
1
ggplot, transformation, and ylim
...e nature of the y-values, I wish to scale the y axis with a log base two transformation. Furthermore, I wish to plot the two sets of y-values as boxplots in separate graphs with the same ylim (and thus with the same ticks and tick labels). As of now, I have: ggplot(data, aes(x1, y1))+geom_boxplot()+scale_y_log2() ggplot(data, aes(x2, y2))+geom_boxplot()+scale_y_log2() which successfully creates the boxplot and transforms the y-axis. However, I can't figure out how to change the range of the y-axis so that they're the same in both graphs. Inserting "+scale_y_continuous(limits=c(...))" bef...