Publications by Jacob Martin
DS 2870: Module 5 - Tile Plots
knitr::opts_chunk$set(echo = F, fig.align = "center", fig.height = 6, fig.width = 8, message = F, warning = F) # Loading the needed packages: ggfittext will help with adding long text to a graph pacman::p_load(tidyverse, ggfittext) ...
1952 sym 5 img
DS 2870: Module 6 - Creating Maps
Set Up Your Project and Load Libraries knitr::opts_chunk$set(echo = F, fig.align = "center", fig.width = 10, fig.height = 8) ## Load the libraries we will be using pacman::p_load(gapminder, socviz, tidyverse, grid, ggthemes, usmap, maps, statebins, viridis, lea...
2153 sym 4 img
DS 2870 - Module 6 - Creating Maps in R part 2
knitr::opts_chunk$set(echo = F, fig.align = "center", message = F, warning = F, fig.width = 10, fig.height = 8) ## Load the libraries we will be using pacman::p_load(gapminder, socviz, tidyverse, grid, ggthemes, usm...
2329 sym 11 img
DS 2870: Homework 2 Fall 2023
Data Description The csv file bgg.csv contains 999 board games from the website boardgamegeek.com. There are 10 variables. The relevant variables are: name: The name of the board game year: The year the game was first released rating: The average user rating from boardgamegeek.com playtime: The manufacturers stated time it takes to complete th...
1743 sym 4 img
DS 2870: Module 5 - Bar Charts with Text
Setup knitr::opts_chunk$set(echo = TRUE) # Load your package when you want to use it: pacman::p_load(tidyverse, ggfittext) # Changing default theme to theme_test() theme_set(theme_test()) theme_update( plot.title = element_text(hjust = 0.5, size = 14) ) # Reading in the drives2 data set drives <- read.csv(...
1504 sym 5 img
DS 2870 - Module 5 - Tile Plots and Text
knitr::opts_chunk$set(echo = TRUE, fig.align = "center", fig.height = 6, fig.width = 8, message = F, warning = F) # Loading the needed packages: ggfittext will help with adding long text to a graph pacman::p_load(tidyverse, ggfittex...
1047 sym Python (3795 sym/6 pcs) 2 img
DS 2870 - Module 5 - Creating Bar Charts from Summarized Data
Set Up Your Project and Load Libraries knitr::opts_chunk$set(echo = TRUE, fig.align = "center") ## Load the libraries we will be using pacman::p_load(tidyverse, ggfittext) ## Since we're creating bar charts, let's use theme_test() theme_set(theme_test()) # Changing the default theme setting to have the title centered...
4527 sym 6 img
DS 2870: Module 3 - Histograms and Density Plots
Set Up Your Project and Load Libraries ## Set the default size of figures and default to printing the R code knitr::opts_chunk$set(echo = F, fig.width=8, fig.height=5) ## Load the libraries we will be using pacman::p_load(tidyverse, skimr) ## Changing the default theme to black/white instead o...
5096 sym 16 img
DS 2870 - Intro to ggplot2 package
Setup knitr::opts_chunk$set(echo = TRUE) # Install the tidyverse package, if you didn't already. # Only install it once, like this: # Go to bottom right pane, click Packages, # then click Install, then type tidyverse # in the blank in the middle, click Install. # If you have problems with the tidyverse, install and load ggplot2 ins...
7420 sym 15 img
DS 2870 - Creating Bar Charts
Set Up Your Project and Load Libraries ## Set the default size of figures and default to printing the R code knitr::opts_chunk$set(fig.align = "center", echo = F, include = T) ## Load the libraries we will be using pacman::p_load(tidyverse, skimr) ## Changing the default theme to black/white ins...
9465 sym 12 img 2 tbl