HHA 507 / Data Science / Assignment 8 / Intro to R
- introductory statistics exercises to R and R Studio using the resources below
- practice data wrangling and data visualization using R
Part 1: Complete part [1.1, 1.2, 1.3, 1.4, 2.1, 2.2, 2.3] locally on my machine. Keep track of code when reviewing the written material using Part1.r file in repo
Part 2: Complete Chapter 1, 2, 3 from this book. Use Google Colab to take coding notes Part2.ipynb:
Additional Resource: https://colab.research.google.com/drive/1iz6ILnVGt8Qc6UR1l7oTPou4l6WSrw9S
- UK Gender Pay Gap 2022-2023: https://gender-pay-gap.service.gov.uk/viewing/download
- Iris Dataset: https://datahub.io/machine-learning/iris
- Describe what R and RStudio are.
- Interact with R using RStudio.
- Familiarize various components of RStudio.
- Employ variables in R.
- Describe frequently-used data types in R.
- Construct data structures to store data.
- Describe and utilize functions in R.
- Modify default behavior of a function using arguments.
- Identify R-specific sources of obtaining more information about functions.
- Demonstrate how to create user-defined functions in R
- Demonstrate how to read existing data into R
- Utilize base R functions to inspect data structures
- Demonstrate how to subset vectors and factors
- Explain the use of logical operators when subsetting vectors and factors
- Demonstrate how to relevel factors in a desired order
- Explain different ways to install external R packages
- Demonstrate how to load a library and how to find functions specific to a package
- Demonstrate how to subset, merge, and create new datasets from existing data structures in R.