Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I flip rows and columns using tabout?

    I'm using the code:

    tabout city using table.tex, ///
    c(mean age mean gender), f(1) sum

    This produces a table where each city is in the row, and "age" and "gender" as column headers. The cells display the mean "age" and "gender" for each city. I want to average out a lot more variables by city, and it would be nicer the cities were the column headers. Is there a way to do this? I'm specifically looking for a tabout solution. .Thanks
Working...
X