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
Get step-by-step solutions from verified subject matter experts
