Displaying 1 result from an estimated 1 matches for "naggreg".
Did you mean:
aggreg
2011 Jul 25
4
ggplot question: changing the label for the Y axis on a histogram
...el the vertical axis in a histogram would be appreciated.
qplot(off.sc,weight=rel.freq,binwidth=.29,main="test Figure"+ylab("New from inside"))+ylab("New from outside")+
xlab("off.sc\nAggregated frequency plots for 17 equal intervals.")
The code produces a proper histogram. However, the y axis is labeled count
and this needs to be changed because the data is relative frequencies (sample proportions.)
ylab() does not do the trick (in either position). Does anyone k...