InterviewSolution
Saved Bookmarks
| 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)I had been asked this question during an interview for a job.Asked question is from Commands topic in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming |
|
Answer» The CORRECT answer is (a) apply(x,2,MAX) |
|