Re: [R] tables package and alternative to col percent

2014-01-16 Thread Daniel Cher
Thanks for the reply. Another great option would be "missing" (like in SAS), especially for factors. I'm struggling to figure out how to do this with "tables". Daniel Cher, MD djc...@gmail.com +1-650-269-5763 This message and its attachments are confidential. -O

[R] tables package and alternative to col percent

2014-01-12 Thread Daniel Cher
All 8 100 > I'm looking for percents to have gender=1 or gender=2 as the denominator. I.e., Gender Race n Percent 1 32 *50* 42 *50* 2 30 *0* 44 *100* All 8 100 >