Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
![Screenshot 2023-12-18 at 10 40 27 PM](https://private-user-images.githubusercontent.com/3837836/291468646-4c30ad72-76ee-4939-a5fb-16b570d38cf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwOTI3OTYsIm5iZiI6MTcyMjA5MjQ5NiwicGF0aCI6Ii8zODM3ODM2LzI5MTQ2ODY0Ni00YzMwYWQ3Mi03NmVlLTQ5MzktYTVmYi0xNmI1NzBkMzhjZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjdUMTUwMTM2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmNiMWNkN2ViNDYzNGJmN2U5ZTQ1NGU4ZDY2MzNlNzIxNzMyNGNjZTZiYTZmY2E5Y2U1ZDBiMzdjYjA1YTQ4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.DsZp9AED1OCjQ3kuiiFghV6vxFgNAEHJzXJ_2HJmdNU)
library(emmeans) | |
data(mtcars) | |
# in the example here, all models give the same point estimates and similar | |
# SEs because there is only a single, categorical, variable in the model. | |
# if you add a continuous predictor, they will no longer, because the relationship | |
# assumed by the model will be different for the three models! | |
m <- glm(am ~ vs, data = mtcars, family = binomial) | |
em1 <- emmeans(m, "vs") |
library(ggplot2) | |
library(dplyr) | |
library(tidyr) | |
library(stringr) | |
library(scales) | |
library(gridExtra) | |
library(grid) | |
# use the NPR story data file --------------------------------------------- | |
# and be kind to NPR's bandwidth budget |
### Title: Back to basics: High quality plots using base R graphics | |
### An interactive tutorial for the Davis R Users Group meeting on April 24, 2015 | |
### | |
### Date created: 20150418 | |
### Last updated: 20150423 | |
### | |
### Author: Michael Koontz | |
### Email: mikoontz@gmail.com | |
### Twitter: @michaeljkoontz | |
### |