What is the output of mean(c(2, 4, 6))
?
What is the output of mean(c(2, 4, 6))? a) 4 b) 6 c) 2 d) 5 Answer: a) 4 Explanation: The mean() function calculates the average of a numeric vector. The mean of c(2, 4, 6) is 4. Reference: R Programming – Functions MCQ Questions and Answers
What is the output of mean(c(2, 4, 6))
? Read More »