Nothing
BB <- MLB2004 %>%
mutate(runmargin = (R - OR) / G)
# data frame has summarized data for each team, so different syntax here:
bb.glm <- glm(cbind(W, L) ~ runmargin, data = BB, family = "binomial")
msummary(bb.glm)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.