| Ectopic pregnancy {epicalc} | R Documentation |
This case-control study has one case series and two control groups.
The subjects were recruited based on three types of pregnancy outcome
data(Ectopic)
A data frame with 723 observations on the following 4 variables.
idoutcEP IA Deli| EP | = ectopic pregnancy | |
| IA | = women coming for induced abortion | |
| Deli | = women admitted for full-term delivery |
hianever IA ever IAgravi1-2 3-4 >4data(Ectopic) library(nnet) use(Ectopic) multi1 <- multinom(outc ~ hia + gravi, data=.data) summary(multi1) mlogit.display(multi1) # Changing referent group of outcome outcIA <- relevel(outc, ref="IA") pack() multi2 <- multinom(outcIA ~ hia + gravi, data=.data) summary(multi2) mlogit.display(multi2)