Dear R People:

I have generated the following table:

> table(zza$DEATH,zza$GENDER)

               F   M
  2009-04-21   0   1
  2009-04-22   4   2
  2009-04-24   6   0
  2009-04-25   1   3
  2009-04-26   2   0
  2009-04-28   3   0
  2009-04-29   2   2

However, instead of total counts in the F and M columns, I would like percents.

How would I do this, please?

thanks,
Erin



-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodg...@gmail.com

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

Reply via email to