# "glm" type convenience string
tinyplot(am ~ mpg, data = mtcars, type = "glm")
# Use `type_glm()` to pass extra arguments for customization
tinyplot(am ~ mpg, data = mtcars, type = type_glm(family = "binomial"))
Run the code above in your browser using DataLab