[R] proportions

Tomas Aragon aragon at berkeley.edu
Fri Feb 13 20:16:36 CET 2004


--- Mauricio Cardeal <mcardeal at ufba.br> wrote:
> Hi all:
> 
> Please be patient with my silly question:
> 
> How can I get proportions if I have a contingency table ? 
> 
> I tried the table command, but I almost sure I made my usual
> mistakes.
> 
Try the prop.table function

I am also putting together R manual for epidemiologist, some of which
you may find useful. It available at
http://www.ucbcidp.org/courses/epiwithr.pdf

Tomas

> Thaks
> 
> Mauricio
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html


=====
Tomas Aragon, MD, DrPH
http://www.medepi.org/aragon
Support Open Access! Visit http://www.plos.org




More information about the R-help mailing list