[R] dotplot
David Winsemius
dwinsemius at comcast.net
Mon Mar 22 21:13:37 CET 2010
You thought you were attaching the data, but have you actually read
the relevant sections in the Posting Guide?
--
David Winsemius, MD
On Mar 22, 2010, at 3:49 PM, Veerappa Chetty wrote:
> 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: chettyvk at gmail.com,vchetty at bu.edu
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list