search for: trt_label

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

Did you mean: part_label
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
...version of codes. The first one produces a step plot with color by default. The second 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),...