Hi,
Please help to correct my error in the following. I want to plot the values
of 'x" in increasing order.
-----------------------------------
library(lattice)
Name<-c("A","B","C")
x<-c(15,20,10)
test<-data.frame(Name,x)
dotplot(Name~x,test)
dotplot(reorder(Name,x)~x,test)

"reorder" has no effect!
Thanks.
Chetty
------------------------

-- 
Professor of Family Medicine
Boston University
Tel: 617-414-6221, Fax:617-414-3345
emails: chettyvk@gmail.com,vchetty@bu.edu

	[[alternative HTML version deleted]]

