Re: [R] Graphics for proportion within factor

2008-12-01 Thread Jim Lemon
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, bu

Re: [R] Graphics for proportion within factor

2008-11-30 Thread David Winsemius
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

[R] Graphics for proportion within factor

2008-11-30 Thread Rob James
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 proportio