Explanation:apply(x,2,max) finds the maximum for each column. 4. Which of the following statement finds the maximum for each column ?
A. apply(x,2,max)
B. col.max(x)
C. which.min(x)
D. which.max(x)
Answer:A
Explanation:apply(x,2,max) finds the maximum for each column. 4. Which of the following statement finds the maximum for each column ?
A. apply(x,2,max) B. col.max(x) C. which.min(x) D. which.max(x)
Explanation:col.max(x) is another way to find which column has the maximum value for each row. 5. which of the following statement tells the row with the minimum value for every column ?