Hi,
I am trying to make a dot plot in increasing order of the values. It does
not work. How do I do it? Here are the codes I used. I am also attaching the
data. I use lattice library.
Thanks.
Chetty
----------------------------------------------


y<-state.resid$Hospital.Name[state.resid$State=="MA"&is.na
(state.resid$reg.resid)==F]
x<-state.resid$reg.resid[state.resid$State=="MA"&is.na
(state.resid$reg.resid)==F]
dotplot(reorder(y,x)~x,xlab="Regression Adjusted   Rates")
---------------------------------------

-- 
Professor of Family Medicine
Boston University
Tel: 617-414-6221, Fax:617-414-3345
emails: chett...@gmail.com,vche...@bu.edu
______________________________________________
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