search for: update_stat_defaults

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

2013 Mar 14
0
Fw: showing ratio in ggplot bar plot with facets
...dalEnd.df$Model)=="extT"] <- "TDS" AreaTidalEnd.df$Year<-as.factor(as.character(AreaTidalEnd.df$Year)) breaks<-seq(0,150,20) AreaTidal.df<-subset(AreaTidalEnd.df, Depth>=0) AreaTidal2003<-subset(AreaTidal.df, Year=="2003") ##Counts per Model and RA update_stat_defaults("bin",aes(y=..density..)) qplot(Depth, data = AreaTidal2003, binwidth = 10, origin=0,xlim=c(0,150), ylab="Larval Ratio")+ scale_x_continuous(breaks = breaks, labels=breaks)+facet_grid(Release_Area~Model) I would be hugely grateful for your help! Melanie _____________________...