Displaying 1 result from an estimated 1 matches for "mrsa".
Did you mean:
mesa
2012 Nov 13
0
Starting the line at zero in ggplot
...1.43454545 1.2690701
cry10y 120 0.500000 1.5101821
cry13y 156 0.165000 7.1850000
using the following code:
graph<- ggplot(data=NULL, aes(table[,1],table[,2]))+
geom_line(data=NULL, aes(table[,1],table[,2]), color="gray60") +
geom_errorbar(aes(ymin=mrsa, ymax=mrsa+semrsa), width=.35,
color="gray60")+
graph
The line starts obviously at 3 month, I have tried rbind to add a first
line of zeros but since I am putting Error bars in the graph the ggplot
renders an error.
The data used for errorbars is:
mrsa
cry3m cry6m cry1...