Displaying 1 result from an estimated 1 matches for "cum_rate_aff0_pool".
Did you mean:
cum_rate_aff0_pooled
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
...one, modified from the first one, is not producing
the grey scale I want. Any help would be highly appreciated.
[version 1- working]
library(ggplot2)
ggplot(qry_r3_AFF0_CumRate_pooled[qry_r3_AFF0_CumRate_pooled$trt_label %in%
c('ace','ctrlAM','met'),]
, aes(x=AFF0, y=cum_rate_AFF0_pooled, group=trt_label))+
geom_step(aes(color=trt_label), direction="hv", size=5.0)+
scale_y_continuous("Rates of initiating first orientation flight",
limits=c(0,0.6), expand=c(0,0), breaks=c(0,0.2,0.4,0.6)) +
scale_x_continuous("Age of adults (days)...