[R] mosaic row and column order

Michael Kubovy kubovy at virginia.edu
Wed Oct 31 21:33:46 CET 2007


Dear R-helpers,

I wasn't able to find out how to override the alphabetical ordering  
of the rows and columns in a vcd::mosaic plot. I would like to have  
them each ordered by numerical values in a different column of the  
data frame that contains the contingency data.

I would be most grateful for a pointer toward the solution.

Thanks,
MK
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list