Recently Published
10.6 Homework 4
1) From the data you have chosen, select a variable that you are interested in
2) Use pastecs::stat.desc to describe the variable. Include a few sentences about what the variable is and what it's measuring.
3) Remove NA's if needed using dplyr:filter (or anything similar)
4) Provide a histogram of the variable (as shown in this lesson)
5) transform the variable using the log transformation or square root transformation (whatever is more appropriate) using dplyr::mutate or something similar
6) provide a histogram of the transformed variable
7) submit via rpubs on CANVAS
Homework 2
1) Create a new Rmarkdown document in a folder with cars_data.csv
2) Load cars_data.csv into the Rmarkdown document
Answer these questions in the Rmarkdown document. Show your code:
3) What is the average (mean()) mpg for all cars?
4) What is the minimum mpg for all cars?
5) What is the maximum mpg for all cars?
6) How many cars are there in the dataset? (Hint: length() of mpg)
Roger Avella's Homework Assignment No. 1
Roger Avella's Homework Assignment No. 1 due for Sept 1