Hi:

Is this what you are after?  (df is the data frame name)

library(lattice)
dotplot(reorder(Name, rate) ~ rate, data = df)

HTH,
Dennis

On Mon, Mar 22, 2010 at 2:17 PM, Veerappa Chetty <chettyvk@gmail.com> wrote:

>   Hi ,
>                       Name
>  rate
>
>                      HEALTHALLIANCE HOSPITALS, INC  -1.06211747
>                      MOUNT AUBURN HOSPITAL              0.50960291
>                      STURDY MEMORIAL HOSPITAL        2.64233232
>                      LAWRENCE GENERAL HOSPITAL    2.15628558
>                      CAMBRIDGE HEALTH ALLIANCE      1.23623144
>
> I would like use "reorder" in the "dotplot" function.  I want the dots in
> the increasing order. I know how to do it using "dotchart".
>
> I would appreciate help. Also I could not easily find a method to post data
> when I seek help in the posting guide.
> 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]]
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

