R Language quiz questions

R Language interview questions

  • 1.

    Which of the following is a principle of analytic graphics?

    1. Don’t plot more than two variables at at time

    2. Make judicious use of color in your scatterplots

    3. Show box plots (univariate summaries)

    4. Show causality, mechanism, explanation

    Answer
  • 2.

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

    1. data.table

    2. read.table

    3. data.data

    4. None of the mentioned

    Answer
  • 3.

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

    1. rename

    2. filter

    3. set

    4. subset

    Answer
  • 4.

    ________ add new variables/columns or transform existing variables

    1. mutate

    2. add

    3. apped

    4. arrange

    Answer
  • 5.

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

    1. %>%>

    2. %>%

    3. >%>%

    4. All of the mentioned

    Answer
  • 6.

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

    1. rename

    2. filter

    3. set

    4. subset

    Answer
  • 7.

    Point out the correct statement :

    1. gather() makes “lond” data wider

    2. tidyr is a reframing of reshape designed to accompany the tidy data framework

    3. There are two fundamental verbs of data tidying

    4. None of the mentioned

    Answer
  • 8.

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

    1. one

    2. seven

    3. three

    4. five

    Answer
  • 9.

    Which of the following merges two variables into one ?

    1. spread()

    2. gather()

    3. separate()

    4. unite()

    Answer
  • 10.

    Point out the correct statement :

    1. tidyr and dplyr packages do not make use of the pipe operator

    2. tidyr does less than reshape2

    3. tidyr provides ability to string multiple functions together by incorporating %

    4. All of the mentioned

    Answer
  • 11.

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

    1. tidy()

    2. spread()

    3. separate()

    4. All of the mentioned

    Answer
  • 12.

    Spread function is known as ___________ in spreadsheets.

    1. pivot

    2. unpivot

    3. cast

    4. order

    Answer
  • 13.

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

    1. ggmissplot

    2. printplot

    3. print.ggplot

    4. All of the mentioned

    Answer
  • 14.

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

    1. extract()

    2. gather()

    3. sep()

    4. All of the mentioned

    Answer
  • 15.

    __________ uses regexp groups instead of a splitting pattern or position.

    1. spread()

    2. gather()

    3. separate()

    4. All of the mentioned

    Answer
  • 16.

    Which of the following function takes multiple columns ?

    1. spread()

    2. gather()

    3. separate()

    4. All of the mentioned

    Answer
  • 17.

    Point out the correct statement :

    1. gather() makes “wide” data longer

    2. Two functions are present for tidy data

    3. separate() makes “wide” data longer

    4. None of the mentioned

    Answer
  • 18.

    How many functions exist for tidying the data ?

    1. one

    2. two

    3. three

    4. All of the mentioned

    Answer
  • 19.

    Which of the following is complementary to tidyr ?

    1. geolr

    2. dplyr

    3. d3lr

    4. All of the mentioned

    Answer
  • 20.

    Point out the correct statement :

    1. Each row is an observation in tidy data

    2. Each column is a variable in tidy data

    3. Arranging your data in tidy way makes it easier to work

    4. All of the mentioned

    Answer

© 2017 QuizBucket.org