| Ectopic pregnancy | 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.
ida numeric vector
outca factor with levels EP IA Deli
| EP | = ectopic pregnancy | |
| IA | = women coming for induced abortion | |
| Deli | = women admitted for full-term delivery | |
hiaa factor with levels never IA ever IA
gravia factor with levels 1-2 3-4 >4
data(Ectopic) library(nnet) data(Ectopic) .data <- Ectopic multi1 <- multinom(outc ~ hia + gravi, data=.data) summary(multi1) mlogit.display(multi1) # Changing referent group of outcome .data$outcIA <- relevel(.data$outc, ref="IA") multi2 <- multinom(outcIA ~ hia + gravi, data=.data) summary(multi2) mlogit.display(multi2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.