data(hypoDat)
example.preEM<-PreEM(hypoDat, 3)
names(example.preEM$haploDM)
# "h000" "h001" "h010" "h011" "h100" "pooled"
# Logistic regression, baseline group: '001/001'
example.regr <- EM(affected ~ attr + h000+ h010 + h011 + h100 + pooled,
example.preEM, family=binomial())Run the code above in your browser using DataLab