My Report

R Programming Practice Test 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. What is the simplest way of creating the vector?

2. Which of the following statement would read file "foo.txt"?

3. Which of the following is valid assignment?

4. The ________ stores the nominal values as a vector of integers in the range of 1 to unique values in the nominal variable.

5. Point out the wrong statement?

6. The _________ function returns a list of densities (y) corresponding to bin values (x).

7. Which function can be used to determine the names assigned to a list?

8. What will be the output of the following R code?

> x <- 1:3
> names(x)

9. What will be the output of the following R code?

> x <- 1:3
> y <- 10:12
> rbind(x, y)

10. Factors are created using the _______ function.


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.