McqkartGet appPractise

Consider the following R code: x <- c(3, 8, 1, 9, 4, 7) c(sum(x > 4), mean(x > 4), which(x > 4)) What is printed when the code is run?

A[1] 3 1 2 4 6
B[1] 3.0 0.5 2.0 4.0 6.0
C[1] 3.0 0.5 8.0 9.0 7.0
D[1] 24.0 0.5 2.0 4.0 6.0
🔒 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 →