Programming Homework Help

Programming Homework Help. CCP 526: Found Data Sci I: Data Prog R

 

Replicate the graphic published by the NYT (link below). You need to modify axes and provide the code used to recreate the graphics. https://archive.nytimes.com/www.nytimes.com/intera… To start the code, see below.

plot.new()

plot.window(xlim = c(1900, 2012), ylim = c(ave.so.min, ave.so.max))

points(x = year, y = ave.so, col = “gray85”, pch = 16, cex = 0.75)

axis(side = 1, lwd = 2, hadj = -0.1, padj = -1, at = seq(from = 1900, to = 2010, by = 10))

axis(side = 4, lwd = 0, las = 1, col.axis = “gray85”, at = seq(from = 0, to = 9, by = 1), font.axis = 2)

Programming Homework Help