Publications by Logan Roberts

GEOG 5680 Project (1) - Roberts

20.06.2024

This project uses a dataset containing home sale prices home = read.csv("homeprice.csv") str(home) ## 'data.frame': 29 obs. of 7 variables: ## $ list : num 80 151 310 295 339 ... ## $ sale : num 118 151 300 275 340 ... ## $ full : int 1 1 2 2 2 1 3 1 1 1 ... ## $ half : int 0 0 1 1 0 1 0 1 2 0 ... ## $...

2768 sym R (5078 sym/27 pcs) 12 img

GEOG 5680 Module 15a Examples

19.06.2024

The packages from the lab are read into the markdown library(ggpubr) ## Loading required package: ggplot2 library(ggplot2) 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, set...

346 sym R (7418 sym/47 pcs) 29 img

GEOG 5860 Module 10 Exercises

17.06.2024

Exercises use Enrollment Forecast data and the ggplot package roll = read.csv("enrollmentForecast.csv") library(ggplot2) Exercises Look at the data structure str(roll) ## 'data.frame': 29 obs. of 5 variables: ## $ YEAR : int 1 2 3 4 5 6 7 8 9 10 ... ## $ ROLL : int 5501 5945 6629 7556 8716 9369 9920 10167 11084 12504 ... ## $ UNEM : n...

1036 sym R (2742 sym/22 pcs) 5 img

GEOG 5680 Module 7 Exercises Part 1

14.06.2024

The data used for the plots in these exercises is from the dataset Temperature.csv temp = read.csv("Temperature.csv") The ggplot() package is added into the markdown library(ggplot2) Use ggplot() to produce a histogram of salinity values salplot = ggplot(temp, aes(x=Salinity)) salplot = salplot + geom_histogram(binwidth=1) salplot ## Warning: Re...

387 sym R (1033 sym/13 pcs) 4 img

GEOG 5680 Module 7 Exercises Part 2

14.06.2024

The data used for the plots in these exercises is from the dataset Temperature.csv temp = read.csv("Temperature.csv") The ggplot() package is added into the markdown library(ggplot2) For the rest of the plots, we need a variable to represent continuous time from the start of the observations temp$decdate = temp$Year + temp$dDay3 / 365 Using this ...

540 sym R (899 sym/10 pcs) 4 img

GEOG 5680 Module 9 Exercises

14.06.2024

Exercises uses Deer dataset and random sets of data using r* functions deer = read.csv("Deer.csv") aragorn = rnorm(50, mean=180, sd=10) gimli = rnorm(50, mean=132, sd = 15) legolas = rnorm(50, mean=195, sd=15) Exercises Run a t-test to compare the Legolas actors to the set of Aragorns and then to the set of Gimlis. Do you find evidence for si...

1627 sym

GEOG 5680 Module 8 Exercises

14.06.2024

Exercises using dplyr and ggplot2 packages The packages are read into the markdown library(ggplot2) 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 The data u...

1294 sym R (4059 sym/19 pcs) 3 img

GEOG 5680 Module 6 Exercise

05.06.2024

Creating a Markdown Report for Module 3 Exercise Part 2 The squid dataset is used for this exercise. It contains observations of squid capture around Scotland. The squid dataset is read into the file and assigned a value. squid = read.csv("squid.csv") The first plot creates a histogram that displays the gonadosomatic index (GSI) of all the squids...

978 sym 5 img