-
Notifications
You must be signed in to change notification settings - Fork 0
Day 3 Practice
Meghan Balk edited this page Mar 29, 2018
·
2 revisions
- Create a new file and save it as "Day_3_Practice.R"
- Import the dataset mtcars.
- How many cars have cylinders that are greater than or equal to 6?
- Make a data frame of cars that have 8 cylinders. Name it mtcars.2.
- How many cars are in this dataset?
- What is the mean mpg of the cars with 8 cylinders?
- How would you find the mean mpg of cars with 8 cylinders without creating a subsetted data frame?
Be sure to annotate what you do as you go!
Day 1 or 2
- Basics of R
- Variables and objects
- Functions and packages
- Conditionals and logical operators
- Practice
- Recap
Day 3
Day 4
Day 5
Extra