Re: [R] Tart charts

2007-10-08 Thread Antony Unwin
Michael,

 Try this alternative:

 # from http://research.microsoft.com/users/lamport/pubs/hair.pdf
 hairsex - matrix(
c(46, 45, 13, 12,
   1, 101, 0, 20), 2, 4, byrow=TRUE)
 dimnames(hairsex) - list(Gender=c(Female, Male),
   Hair color=c(Blond, Brown, Red, Other) )

 library(vcd)
 mosaic(hairsex, shade=TRUE)

 There are uses for pie charts, but this isn't one of the better ones.

There are many kinds of mosaic plots, but this isn't one of the  
better ones.  A multiple barchart looks good here.  I did like your  
idea of using colours, it emphasised the number of women with dark  
blue hair.

Antony
[[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.


Re: [R] Tart charts

2007-10-06 Thread Jim Lemon
roger koenker wrote:
 It being friday, I would like to call your attention to an innovative
 data analysis by Leslie Lamport available from:
 
   http://research.microsoft.com/users/lamport/pubs/hair.pdf
 
 I particularly liked the graphics.
 
 
Stone the flamin' crows, why didn't I think of that?

Jim

__
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.


Re: [R] Tart charts

2007-10-06 Thread Michael Friendly
Try this alternative:

# from http://research.microsoft.com/users/lamport/pubs/hair.pdf
hairsex - matrix(
c(46, 45, 13, 12,
   1, 101, 0, 20), 2, 4, byrow=TRUE)
dimnames(hairsex) - list(Gender=c(Female, Male),
Hair color=c(Blond, Brown, Red, Other) )

library(vcd)
mosaic(hairsex, shade=TRUE)

There are uses for pie charts, but this isn't one of the better ones.

-Michael

roger koenker wrote:
 It being friday, I would like to call your attention to an innovative
 data analysis by Leslie Lamport available from:
 
   http://research.microsoft.com/users/lamport/pubs/hair.pdf
 
 I particularly liked the graphics.
 
 
 url:www.econ.uiuc.edu/~rogerRoger Koenker
 email[EMAIL PROTECTED]Department of Economics
 vox: 217-333-4558University of Illinois
 fax:   217-244-6678Champaign, IL 61820
 
 __
 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.
 

-- 
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University  Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT  M3J 1P3 CANADA

__
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.


[R] Tart charts

2007-10-05 Thread roger koenker
It being friday, I would like to call your attention to an innovative
data analysis by Leslie Lamport available from:

http://research.microsoft.com/users/lamport/pubs/hair.pdf

I particularly liked the graphics.


url:www.econ.uiuc.edu/~rogerRoger Koenker
email[EMAIL PROTECTED]Department of Economics
vox: 217-333-4558University of Illinois
fax:   217-244-6678Champaign, IL 61820

__
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.