Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Train the model (Logistic regression)
lmmod = lm(diagnosis ~ . , data = train[,2:32])
summary(lmmod)
coeftest(lmmod, vcov. = vcovHC, type = "HC1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment