R Programming Language MCQ Test: R Programming Language MCQs - Practice Questions
1. What is the purpose of the 'mean()' function in R?
2. What does the 'tapply()' function in R do?
3. How can you read a CSV file into a data frame in R?
4. How can you create a named list in R with elements 'a' and 'b'?
5. What is the purpose of the 'lm()' function in R?
6. How can you check if a variable 'x' is numeric in R?
7. What does the 'summary()' function provide for a data frame in R?
8. In R, how can you extract a specific column from a data frame?
9. In R, explain the difference between '<<-' and '->>' assignment operators.
10. In R, what is the purpose of the 'ifelse()' function?