Question: Write code with a for loop to compute the median of every column in the SAT_2010 dataset in the mdsr package. Use the paste function

Write code with a for loop to compute the median of every column in the SAT_2010 dataset in the mdsr package. Use the paste function (see ?paste) to get the loop to print the result in the form "The median of ... is ....".

I was able to install the packages. I found the dataset SAT_2010. I was able to use the paste function to get the loop. I am at a loss on doing the rest of the work. I am learning R programming for the first time this semester. Thank you for the assistance.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!