[R] Character graphics

A.J. Rossini rossini at blindglobe.net
Mon Dec 8 03:04:30 CET 2003


Murray Jorgensen <maj at stats.waikato.ac.nz> writes:

> Does anyone else miss email-friendly character graphics such as the
> following example, produced using Minitab?

I don't.

> Histogram of C6   N = 478   N* = 21
> Each * represents 2 observation(s)
>
> Midpoint        Count
>       -12           16  ********
>       -11           53  ***************************
>       -10           63  ********************************
>        -9           83  ******************************************
>        -8           93  ***********************************************
>        -7           74  *************************************
>        -6           45  ***********************
>        -5           13  *******
>        -4            6  ***
>        -3            2  *
>        -2           10  *****
>        -1           18  *********
>         0            1  *
>
> BTW, Minitab 13 protests when you want to do this:
>
> MTB > gstd
> * NOTE  * Character graphs are obsolete.
>
> * NOTE  * Standard Graphics are enabled.
>            Professional Graphics are disabled.
>            Use the GPRO command to enable Professional Graphics.
>
> Has anyone tried to get similar unprofessional displays out of R?

A stem and leaf plot?  Here's one:

> stem(rnorm(10))

  The decimal point is at the |

  -1 | 2
  -0 | 
   0 | 2226
   1 | 22559

(it's in base).

best,
-tony

-- 
rossini at u.washington.edu            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}




More information about the R-help mailing list