ANC Table | R Documentation |
This dataset contains frequency of various combinations of methods of antenatal care in two clinics with the outcome being perinatal mortality.
data(ANCtable)
A data frame with 8 observations on the following 4 variables.
death
a numeric vector: 1=no, 2=yes
anc
a numeric vector indicating antenatal care type: 1=old 2=new
clinic
a numeric vector indicating clinic code: 1=clinic A, 2=clinic B
Freq
a numeric vector of frequencies
data(ANCtable) glm1 <- glm(death==2 ~ factor(anc) + factor(clinic),weights=Freq, family=binomial, data=ANCtable) logistic.display(glm1) glm2 <- glm(death==2 ~ factor(anc) + factor(clinic),weights=Freq, family=binomial, data=ANCtable) summary(glm2)$coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.