Hello, I want to calculate Odds Ratio. I have a binary outcome and two groups of exposure: '1' are exposed, and '2' are not-exposed. I want '2' to be the reference group. By "factor" I get group '1' as a reference because it sorted in increasing order. How do I change it? Thank you, Sigalit.
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.