# NOT RUN {
mytable(acs)
mytable(~age+sex,data=acs)
mytable(Dx~age+sex+height+weight+TC+TG+HDLC,data=acs,method=3,digits=2)
mytable(am+cyl~.,data=mtcars)
out=mytable(sex~.,data=acs)
out
summary(out)
# }
# NOT RUN {
require(ztable)
ztable(out)
# }
# NOT RUN {
mytable(acs)
# }
Run the code above in your browser using DataLab