[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Graphics for proportion within factor
From:       David Winsemius <dwinsemius () comcast ! net>
Date:       2008-11-30 20:56:46
Message-ID: 75DF5F30-CD34-45B5-927B-71F2F4E4EE9D () comcast ! net
[Download RAW message or body]

You could see whether the stacked barchart in Sarkar's website meets  
your needs:

http://lmdvr.r-forge.r-project.org/figures/figures.html
See figure 4.5

also look at:
?prop.table

Description
This is really sweep(x, margin, margin.table(x, margin), "/") for  
newbies ....


-- 
David Winsemius

On Nov 30, 2008, at 2:36 PM, Rob James wrote:

>  BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I
> am looking to draw what I hoped was a simple plot of proportion WITHIN
> a strata, save % males by site. I seem to be able to get proportion of
> males, by
> site, where the proportion is across the whole dataset, but not the
> proportion within each site.
> thanks in advance,
> Rob
>
> 	[[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.

______________________________________________
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic