View the step-by-step solution to:

Question

Hello ^^ I was wondering if I could get an answer for the following problem: "

style="color:rgb(51,51,51);">Please rewrite the R code for the sd function and save it to a new function called mysd1. It should work the same as sd, but the code could be made a little more readable. Test your new function by apply the built in data named ``rivers" (noquotes) to it. So for example, here is my result compared with the sd function in base R:"


The problem asked me to modify R's sd(standard deviation) function so that it looks more readable

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question