diff --git a/docs/r-graphics/slides/1-GraphicsIntro.html b/docs/r-graphics/slides/1-GraphicsIntro.html
index 1e8adbc4..e4676b13 100644
--- a/docs/r-graphics/slides/1-GraphicsIntro.html
+++ b/docs/r-graphics/slides/1-GraphicsIntro.html
@@ -8,7 +8,7 @@
-
+
UNL R Workshops - Data Visualization
@@ -420,7 +420,7 @@ Today’s Outline
+R knowledge rollercoaster, by Allison Horst
MOTIVATION
@@ -431,7 +431,7 @@ Why visualize?
What are graphics useful for? + Data cleaning + Exploring data structure + Communicating Information
Visualization offers an alternative way of communicating numbers
-Napoleon March Map by Charles Joseph Minard
-
+
Beginner
-
One Variable - Discrete - Bar Chart - Pie Chart
+
One Variable
+- Discrete
+- Bar Chart
+- Pie Chart
- Continuous
@@ -633,14 +636,16 @@ Beginner
-
Two variables - Continuous X, Continuous Y - Scatterplots
+
Two variables
+- Continuous X, Continuous Y
+- Scatterplots
-
+
Here are some common charts most often seen. A bar chart or pie cart are used for displaying information about one discrete variable (count, proporton, mean for that group, etc.). Stem and Leaf Plots, Box and Whisker Plots, and Histograms are all useful for understanding the distribution of a single continuous variable. Scatterplots are a simple and effective way of understanding the relationship between two continuous variables and Maps can help us understand the spatial relationship between spatial information.
+
+
+
+
-
+
+
+
+
+
+
-
-
-
-
-
- UNL R Workshops - Setup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Your Background
+
+Your Background
What do you know already?
-
-What is R?
+
-
-Installing R
+
+Installing R
Hopefully this is done already. If not, for Windows or OS X:
-
-Installing RStudio
+
+Installing RStudio
This should also be done already, but if not…
-
+
-
-
+
Creating a R File
- Creates a R File that you are able to save and edit
-
-
-
-
-
+
+
+
Project Management
- Important to understand your file structure and where you save everything
- Working directory
- “Default location where R will look for files you want to load and where it will put any files you save” source
+
+
#Returns the file path of the current working directory
+getwd()
+
+#Set Working Directory
+setwd()
+
- Easier way to set Working Directory:
@@ -409,9 +304,8 @@ Project Management
- Point and Click Method
-
-
-Project Management: R Projects
+
+Project Management: R Projects
-
-Your Turn: Create a Project Together for this Workshop
+
+Your Turn: Create a Project Together for this Workshop
- Create a RStudio Project for the workshop that you can use throughout the week.
- You can save R files along with the datasets, so you won’t have to set your working directory each day.
-- Save 2-MotivatingExample.R from the website in your project
+
- Save 2-MotivatingExample.R from the website in your project
- This is the file we are going to use in the next section
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ const findCites = (el) => {
+ const parentEl = el.parentElement;
+ if (parentEl) {
+ const cites = parentEl.dataset.cites;
+ if (cites) {
+ return {
+ el,
+ cites: cites.split(' ')
+ };
+ } else {
+ return findCites(el.parentElement)
+ }
+ } else {
+ return undefined;
+ }
+ };
+ var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]');
+ for (var i=0; i
+
+
+
+