Publications by Sherlyn Hilton
GEOG 6680 - Module 8
Exercises library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) theoph <- read.csv("theoph.csv") theoph$Subject = factor(theoph$Subject) Using se...
1092 sym R (2955 sym/18 pcs) 3 img
GEOG 6680 - Module 6
Excercise for Module 6 Choose any previous exercise. Create a new R markdown file. Describe what the code is doing. Convert to html with knitr. Publish html page on RPubs.com Let’s look at the GISS temperature data set. First, load in the libraries used in Module 6, then read the .csv file for the temperature data. library(rpart) library(rpa...
1625 sym R (536 sym/4 pcs) 2 img
GEOG 6680 - Module 7
Part 1 Use ggplot() to produce a histogram of salinity values library(ggplot2) # read in the sea temperature and salinity data temp <- read.csv("Temperature.csv") # histogram of salinity splot = ggplot(data=subset(temp, !is.na(Salinity)), aes(x = Salinity)) + geom_histogram(binwidth = 1, fill = "darkblue") + xlab("Salinity (psu)") +...
1282 sym R (2932 sym/19 pcs) 12 img 1 tbl