[R] dot plot with error bands

Alexey Bessudnov bessudnov at googlemail.com
Mon May 10 14:42:49 CEST 2010

Dear all,

I'm trying to create a dot plot with error bands with

Dotplot(labels ~ Cbind(estimate, lower, upper), data=For.plot)

where estimate, lower and upper are numerical vectors, and labels is a 
character vector that contains labels.

The problem is that labels are automatically sorted alphabetically, and 
I want them to be sorted by estimate (as in my data frame). This should 
be straightforward, but unfortunately being new to R I can't figure out 
how to do this. I'll appreciate your guidance.



More information about the R-help mailing list