Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment is needed to be done with R software. I couldn't continue after finishing a. Please help me if you're an expert of R!
This assignment is needed to be done with R software.
I couldn't continue after finishing a.
Please help me if you're an expert of R!
A metro rider tracks her morning and evening commute times every day for four weeks The values in minutes are given below Morning: 42, 29, 34, 37, 28, 60, 36, 27, 35, 55, 30, 29, 42, 33, 31, 24, 36, 40, 46, 43 Evening: 38, 46, 59, 39, 38, 55, 61, 42, 54, 65, 42, 39, 36, 55, 48, 41, 57, 43, 37, 44 (a) Create, save, and print a 20x2 matrix with the morning commute times in the first column and the evening commute times in the second column. (b) Starting with you matrix, determine how many days her morning commute was more than 30 minutes. (c) Starting with you matrix, determine how many days her evening commute was longer than her morning commute. (d) Create, save, and print two 4x5 matrices one containing the morning commute times and the other containing the evening commute times. (e) Determine the week during which she had the longest morning commute times on average (f) Determine the day of the week on which she had the shortest evening commute times on average (g) On the third Friday, she made a recording error. Her evening commute time that day should actually be 38 minutes. Modify both of the matrices that this error affects with the updated value. (h) Does the recording error change any of your previous answers? If so, what are the new answers! (i) During the second week of her study, there was track work being conducted on the metro line, so she decides to remove that week before conducting future analyses. Save her updated weekly matrices with new names and print themStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started