If I understand correctly, you can get what you want
by:
. table visit, c(count drug1 count drug2 count drug3)
hth,
Jeph
Ziad El-Khatib wrote:
Hi STATA lister
Any tips how to show in one table list of freq of variables during
different time points?
Number of patients on drug1, drug2 and drug3 during visits 2, 4, 8, 12 and 16?
I am used to show it as
tab visit drug1 if visit==2
etc..
and then put them all in one Word table format, very time consuming
and typing of error is high.
Please help!
Thank you and best regards
ziad
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/