class: center, middle, inverse, title-slide # Lecture 2 ## An Introduction to R and RStudio ### JMG ### MATH 204 ### Thursday, September 2 --- # Learning Objectives In this lecture, we will - Introduce R and RStudio - We will work in RStudio Cloud. - Get a feel for the RStudio IDE. - Learn the most basic relevant R commands. -- - Explore some actual data to reinforce the basic data concepts from last lecture. --- # Recall From Last Time In the last lecture, we - Went over course logistics, syllabus, textbook, use or R, etc. - Discussed data and it's structure, e.g., data matrices and variable types. - Covered sampling principles and strategies. - Introduced relationship between variables. --- # RStudio Cloud By now, you should have completed the following tasks: - Carefully read the syllabus. - Responded via email to my "getting to know you" prompt. - Reviewed Chapter 1 of the Textbook. - Registered for [RStudio Cloud](https://rstudio.cloud/). - Accepted my invitation to the MATH204 RStudio Cloud Workspace. --- # Let's Go! Follow me to [RStudio Cloud](https://rstudio.cloud/).  --- # Reflection In this lecture, we - introduced R, RStudio, and RStudio Cloud, - learned to use R for numerical calculations, - learned a little about working with data frames in R, - introduced R packages and the `openintro` package, and - introduced [RMarkdown](https://rmarkdown.rstudio.com/) notebooks. --- # Before Next Class Meeting Before the next class meeting, make sure that you have completed the following tasks: - attempted the first two homework sets, - completed the first concept quiz and participation assignment, and - watched the videos included in the next two slides. -- Have a great rest of the day! --- # Summarizing Numerical Data
--- # Exploring Categorical Data