Question: Using R. Create a function called to be used as argument FUN to function apply() in order to obtain the minimum, maximum, mean, median, and

Using R.

Create a function called to be used as argument FUN to function apply() in order to obtain the minimum, maximum, mean, median, and standard deviation for each of the columns of a matrix. Demonstrate using this function on a 100 by 5 matrix of standard normal variables using function function rnorm(). Answer should be a 5 by 5 matrix.

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!