Introduction to R and RStudio


Figure 1

RStudio layout

Figure 2

RStudio layout with .R file open

Project Management With RStudio


Figure 1

A screenshot of a project folder containing multiple versions of data, analysis scripts, figures, and results files

Data Structures


Exploring Data Frames


Subsetting Data


Data frame Manipulation with dplyr


Figure 1

Illustration of selecting two columns from a dataframe

Figure 2

Illustration of multiple dataframes created by piping a dataframe to group_by

Figure 3

illustration of creating a summary dataframe from grouped data

Introduction to Visualization


Figure 1

Histogram of life expectancy by country showing bimodal distribution with modes at 45 and 75
Histogram of life expectancy by country showing bimodal distribution with modes at 45 and 75

Figure 2


Figure 3

Histogram of life expectancy by country showing bimodal distribution with modes at 45 and 75
Histogram of life expectancy by country showing bimodal distribution with modes at 45 and 75

Figure 4


Figure 5

Barplot of GDP per capita. Country names on x-axis overlap and are not readable
Barplot of GDP per capita. Country names on x-axis overlap and are not readable

Figure 6

Barplot showing GDP per capita. Country names on the y-axis are readable
Barplot showing GDP per capita. Country names on the y-axis are readable

Figure 7


Writing Data


Intro to Raster Data


Figure 1


Figure 2

Raster plot with ggplot2 using the viridis color scale
Raster plot with ggplot2 using the viridis color scale

Figure 3

UTM zones in the USA.
The UTM zones across the continental United States. From: https://upload.wikimedia.org/wikipedia/commons/8/8d/Utm-zones-USA.svg

Figure 4

Multi-band raster image

Figure 5


Figure 6


Figure 7


Figure 8


Figure 9


Figure 10


Plot Raster Data


Figure 1


Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Figure 7


Figure 8


Figure 9


Figure 10


Figure 11


Reproject Raster Data


Figure 1

Source: National Ecological Observatory Network (NEON).

Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Open and Plot Vector Layers


Figure 1

Extent image
Image Source:National Ecological Observatory Network (NEON).

Figure 2


Explore and Plot by Vector Layer Attributes


Figure 1

Map of the footpaths in the study area.
Map of the footpaths in the study area.

Figure 2

Map of the footpaths in the study area where each feature is colored differently.
Map of the footpaths in the study area where each feature is colored differently.

Figure 3

Map of the boardwalks in the study area.
Map of the boardwalks in the study area.

Figure 4

Map of the stone walls in the study area where each feature is colored differently.
Map of the stone walls in the study area where each feature is colored differently.

Figure 5

Roads and trails in the area.
Roads and trails in the area.

Figure 6

Roads and trails in the area demonstrating how to use different line thickness and colors.
Roads and trails in the area demonstrating how to use different line thickness and colors.

Figure 7

Roads and trails in the area with different line thickness for each type of paths.
Roads and trails in the area with different line thickness for each type of paths.

Figure 8

Roads and trails in the study area using thicker lines than the previous figure.
Roads and trails in the study area using thicker lines than the previous figure.

Figure 9

Map of the paths in the study area with large-font.
Map of the paths in the study area with large-font.

Figure 10

Map of the paths in the study area with large-font and an outline around the legend.
Map of the paths in the study area with large-font and an outline around the legend.

Figure 11

Roads and trails in the area highlighting paths where horses and bikes are allowed.
Roads and trails in the area highlighting paths where horses and bikes are allowed.

Figure 12

Map of the continental United States where the state lines are colored by region.
Map of the continental United States where the state lines are colored by region.

Plot Multiple Vector and Raster Layers


Figure 1


Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Figure 7


Figure 8


Figure 9


Handling Spatial Projection & CRS


Figure 1

Maps of the United States using data in different projections. Source: opennews.org, from: https://media.opennews.org/cache/06/37/0637aa2541b31f526ad44f7cb2db7b6c.jpg
Maps of the United States using data in different projections. Source: opennews.org, from: https://media.opennews.org/cache/06/37/0637aa2541b31f526ad44f7cb2db7b6c.jpg

Figure 2


Figure 3


Figure 4


Figure 5


Convert from .csv to a Vector Layer


Figure 1


Figure 2


Figure 3


Manipulate Raster Data


Figure 1

Extent illustration Image Source: National Ecological Observatory Network (NEON)


Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Figure 7


Figure 8


Figure 9

Image shows raster information extraction using 20m polygon boundary. Image Source: National Ecological Observatory Network (NEON)


Figure 10


Figure 11

Image shows raster information extraction using 20m buffer region. Image Source: National Ecological Observatory Network (NEON)


Figure 12


Create Publication-quality Graphics


Figure 1


Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Figure 7


Figure 8


Figure 9


Figure 10


Figure 11