margin.table(mytable, c(1,3)) # 2-Way table of Treatment versus Improved margin.table(mytable, c(2,3)) # 2-Way table of Sex versus Improved ...