**This assignment is optional**

**Purpose**: The purpose of this assignment is to get you up to speed with the basics of working with datasets and plotting in R. All students are expected to have these skills as prerequisites for this course. Although students who took “Programming for Analytics” the previous semester should already possess these skills, all students are encouraged to review these exercises for extra practice.

**Skills**: After completing these exercises, you should be able to:

- Use RStudio to write basic R commands.
- Know the distinctions between different R operators and data types, including numeric, string, and logical data.
- Use
**tidyverse**functions to wrangle and manipulate data in R. - Use the
**ggplot2**library to create plots in R.

**Tasks**:

- Get familiar with R and RStudio by reading (at a minimum) the following lessons from the previous semester of Programming for Analytics:

- “Getting Started”: Installing R & RStudio, basic operators, staying organized with RStudio Projects.
- “Programming Basics”: Functions, arguments, objects, data types, packages.
- “Data Frames”: Learn the foundational data structure, basic data manipulation, and how to import data as a data frame.

If you haven’t already, register for DataCamp using your

**@gwu.edu**email address. Then complete the entire Introduction to the Tidyverse DataCamp course. You should go through all four lessons in the course.Finally, it can be very helpful to see these skills applied in practice. Take a look at this example of using Tidyverse tools to explore and visualize data on survivors aboard the Titantic. It’s a good example of conducting an Exploratory Data Analysis to gain insights about a data set.

George Washington University | School of Engineering & Applied Science

Dr. John Paul Helveston | jph@gwu.edu | Wednesdays | 12:45–3:15 PM | District House B205 | |

This work is licensed under a Creative Commons Attribution 4.0 International License.

See the licensing page for more details about copyright information.

Content 2020 John Paul Helveston