[R] R: Dotplot x-axis

Guazzetti Stefano Stefano.Guazzetti at ausl.re.it
Fri Apr 14 15:59:30 CEST 2006

Take a look at the "scales" argument in dotpolot.
Maybe you need something like:

         at=position, lab=round(position, 3))) )


   >-----Messaggio originale-----
   >Da: r-help-bounces at stat.math.ethz.ch
   >[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di Michael Kubovy
   >Inviato: 14 April 2006 15:29
   >A: r-help at stat.math.ethz.ch
   >Oggetto: [R] Dotplot x-axis
   >Here's a small dataset:
   >type <- c('hierarchical','partial','single','complete','single 
   >freq <- c(1455,729,688,65,29,28,16,17)
   >lodds <- log(freq/(3027 - freq))
   >I would like to have the x-axis have ticks at nice, close 
   >to equally- 
   >spaced values, of the proportions rather than at round log-odds  
   >values, which appear as -5:0. For example: perhaps have ticks at c 
   >(0.007, 0.02, 0.05, 0.12, 0.27, 0.5), which are approximate 
   >values of  
   >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/
   >R-help at stat.math.ethz.ch mailing list
   >PLEASE do read the posting guide! 

More information about the R-help mailing list