Skip to content
Prev 66895 / 398506 Next

Ordering scales in xYplot.Hmisc

On Friday 01 April 2005 12:41, Jose A. Hernandez wrote:
Specify the order that you want instead of relying on the default. e.g., 

ron$depth <- factor(ron$depth, levels = rev(sort(unique(ron$depth))))
levels(ron$depth) <- c("10-20", "5-10", "0-5")

Deepayan