R interview questions part 11

R interview questions part 11

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Point out the correct statement :

Correct Answer is : All of the mentioned

2. Which of the following is complementary to tidyr ?

Correct Answer is : dplyr

3. How many functions exist for tidying the data ?

Correct Answer is : three

4. Point out the correct statement :

Correct Answer is : separate() makes “wide” data longer

5. Which of the following function takes multiple columns ?

Correct Answer is : gather()

6. __________ uses regex groups instead of a splitting pattern or position.

Correct Answer is : separate()

7. Which of the following function works similar to separate() ?

Correct Answer is : extract()

8. Which of the following d takes two columns and spreads them in to multiple columns ?

Correct Answer is : print.ggplot

9. Spread function is known as ___________ in spreadsheets.

Correct Answer is : unpivot

10. __________ is used when you have variables that form rows instead of columns.

Correct Answer is : spread()

11. Point out the correct statement :

Correct Answer is : tidyr does less than reshape2

12. Which of the following merges two variables into one ?

Correct Answer is : gather()

13. How many functions exist for wrangling the data with dplyr package ?

Correct Answer is : seven

14. Point out the correct statement :

Correct Answer is : there are two fundamental verbs of data tidying

15. ________ function is similar to the existing subset() function in R

Correct Answer is : filter

16. The ______ operator allows you to string operations in a left-to-right fashion

Correct Answer is : %>%

17. ________ add new variables/columns or transform existing variables

Correct Answer is : mutate

18. _________ extract a subset of rows from a data frame based on logical conditions.

Correct Answer is : rename

19. dplyr can be integrated with the ________ package for large fast tables

Correct Answer is : data.table

20. _________ is an indication that a fatal problem has occurred and execution of the function stops

Correct Answer is : error

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon