Question: You will use day.csv for this assignment. The readme file has a description of the data, which you are encouraged to read so that you
You will use day.csv for this assignment. The readme file has a description of the data, which you are encouraged to read so that you can successfully interpret the analytic results. There are 16 columns in the dataset. You will need to use columns: dteday, temp, and cnt. "cnt" is the outcome variable, or dependent variable. Presenting data - Create an .rmd file in RStudio. Use a code chunk to report a summary of the data. 5 points Preparing data - Extract the month names from the dteday column using lubridate package and save them in a new column month_name, which has a chr data type. 15 points Hints: -Convert the column dteday into a date type using the lubridate package. -Use an appropriate lubridate function to extract the month from the dteday column and save it as month_name. -Remember the default function will extract the month numbers and not the month name. You will find a function argument to extract month names/ labels. -Also, make sure to convert the column month_name to a character data type. If you want, you may convert it back to a factor. Do not keep it as an ordered factor data type. You will use these three columns for further analysis: month_name, temp, and cnt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
