[R] proportions

Tomas Aragon
2004-02-13T19:16:36Z

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