ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

-You track your commute time for two weeks (ten days) recording the following times in minutes: 171620 24 2215 21 15 17 22 (a) Enter these into R and…

by | Nov 28, 2023 | statistics

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

1.-You track your commute time for two weeks (ten days) recording the following times in minutes:

171620 24 2215 21 15 17 22

(a) Enter these into R and assign the name commute.time

(b) Write an R function called my.f that will do the following for any vector x. Compute the maximum x

  • Compute the minimum x and assign to my.min
  • Compute the average x and assign to my.mean
  • Compute the standard deviation of x and assign to my.sd
  • Compute the cumsum of x and assign to my.cumsum
  • Since the objects that you created are of different nature and length, i.e., one is a vector and the other are scalars, you can not store these values in a vector altogether. You will need a list to store them. So do that: create a list that will store those items created. Assign the list to my.list
  • Write a statement that will allow the function to return the list, i.e. we will be able to see all the results at once when we run the function
  • (c) Test the function with your commute.time vector. 
ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!