Generalized Linear Models in R
Richard Erickson
Instructor
ggplot(data = dat, aes(x = dose, y = cells)) +
geom_point()
ggplot(data = dat, aes(x = dose, y = cells)) +
geom_jitter(width = 0.05, height = 0.05)
ggplot(data = dat, aes(x = dose, y = cells)) +
geom_jitter(width = 0.05, height = 0.05)
geom_smooth()
ggplot(data = dat, aes(x = dose, y = cells)) +
geom_jitter(width = 0.05, height = 0.05)
geom_smooth(method = 'glm')
ggplot(data = dat, aes(x = dose, y = cells)) +
geom_jitter(width = 0.05, height = 0.05) +
geom_smooth(method = 'glm', method.args = list(family = 'poisson'))
Generalized Linear Models in R