1.

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» The correct answer is (a) apply(x,2,max)

The best I can explain: col.max(x) is another way to find which column has the maximum value for each row.


Discussion

No Comment Found

Related InterviewSolutions