1. Which Package contains most fundamental functions to run R?
2. Point out the wrong statement :
Correct Answer is : S’s base graphics system allows for very fine control over essentially every aspect of a plot or graph
3. Which of the following is a base package for R language?
Correct Answer is : tools
4. Which of the following is “Recommended” package in R?
Correct Answer is : spatial
5. What is the output of getOption(“defaultPackages”) in R studio?
Correct Answer is : Shows default packages in R
6. Advanced users can write ___ code to manipulate R objects directly.
Correct Answer is : C, C++
7. Which of the following is used for Statistical analysis in R language?
Correct Answer is : RStudio
8. What is the output of the following R program?
r<-0:10
r[2]
9. What is the output of the following R program?
r<-0:10
r[2]
10. Which of the following operator is used to create integer sequences?
11. Which of the following operator is used to create integer sequences?
12. What will be the output of the following R program?
y<-0:5
vector(y)
y[3]
Correct Answer is : Error in vector(y): invalid ‘mode’ argument
13. What will be the output of the following R program?
y<-0:5
vector(y)
y[3]
Correct Answer is : Error in vector(y): invalid ‘mode’ argument
14. In R language, a vector is defined that it can only contain objects of the ________
Correct Answer is : Same class
15. In R language, a vector is defined that it can only contain objects of the ________
Correct Answer is : Same class
16. A list is represented as a vector but can contain objects of ___________
Correct Answer is : Different class
17. A list is represented as a vector but can contain objects of ___________
Correct Answer is : Different class
18. How can we define ‘undefined value’ in R language?
19. How can we define ‘undefined value’ in R language?
20. What is NaN called?
Correct Answer is : Not a Number