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
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