McqkartGet appPractise

Consider the following R code: x <- c(5, 2, 9, 2, 9) c(which(x == max(x)), which.max(x), which.min(x), match(2, x)) What is printed when the code is run?

A[1] 3 5 5 4 4
B[1] 3 5 3 2 2
C[1] 3 3 2 2
D[1] 9 9 9 2 2
🔒 Answer hidden — practise on Mcqkart to check yourself and see the explanation.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →