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.

Best,

Alexey

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to