Skip to content

plot estimates and their 95% confidence intervals

2 messages · He, Yulei, Michael Lawrence

#
Take a look at ggplot2:

http://had.co.nz/ggplot2/
http://had.co.nz/ggplot2/book/

Particularly:

http://had.co.nz/ggplot2/geom_point.html
http://had.co.nz/ggplot2/geom_errorbar.html
http://had.co.nz/ggplot2/coord_flip.html

ex:

p = ggplot(my_data,aes(x=state,y=ami_mean))
p = p + geom_point()
p = p + geom_errorbar(aes(ymin=ami_low,ymax=ami_up))
p = p + coord_flip()
print(p)
On Mon, Apr 27, 2009 at 6:00 PM, He, Yulei <he at hcp.med.harvard.edu> wrote: