In general, dtable works wonders. I am running into an issue with listing all results in one column. Right now I have a series of attendence variables, with 4 possible responses (coded 0 to 3; absent, attended; excused; partial). Rather than listing vertically across all events, I want to list so the four possible responses are all columns.
Here's what I'm getting now:
using the code
Would there be a way to format a table which had Absent, Attended, Partial, and Excused as columns, and orientation and module as rows (and numbers corresponding appropriately)?
Here's what I'm getting now:
orientation | |
Absent | 2 (3.5%) |
Attended | 54 (94.7%) |
Partial | 1 (1.8%) |
module1 | |
Attended | 141 (94.6%) |
Excused | 7 (4.7%) |
Partial | 1 (0.7%) |
Code:
dtable i.(orientation module1), title("Program Participation")
Comment