Vlatka Matkovic Puljic
2013-Jun-10 15:10 UTC
[R] twoby2 (Odds Ratio) for variables with 3 or more levels
Dear all, I am using Epi package to calculate Odds ratio in my bivariate analysis. How can I make *twoby2 *in variables that have 3 or more levels. For example: I have 4 level var (Age) m=matrix(c(290, 100,232, 201, 136, 99, 182, 240), nrow=4, ncol=2) twoby2(m) R gives me only Comparing : Row 1 vs. Row 2 While I would like to have reference value in Row 1, and compare Row 2, Row 3 and Row 4 with it. Thanks for your help! [[alternative HTML version deleted]]