Skip to content

Instantly share code, notes, and snippets.

@ryanburge
Last active April 16, 2019 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanburge/1cf42b0056681e483f8330a976968be1 to your computer and use it in GitHub Desktop.
Save ryanburge/1cf42b0056681e483f8330a976968be1 to your computer and use it in GitHub Desktop.
Scatterplots and Simple Relationships
## Plotting Lines Graphs ####
gss <- read_csv("https://www.dropbox.com/s/g1r85ff3z8iklvt/gsssmall.csv?dl=1")
## https://gssdataexplorer.norc.org/
## Scatterplots and Simple Relationships
bball <- read_csv("https://raw.githubusercontent.com/ryanburge/pls2003_sp17/master/bball.csv")
bball <- bball %>%
rename(games = g, wins =w, losses = l, runs =r, atbats = ab, hits =h, homeruns =hr, walks = bb, strikeout = so, stolenbase = sb, earnedruns = era)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment