List the functions available in “dplyr” package.

devquora
devquora

Posted On: Feb 22, 2018

 

The functions in dplyr package are-

  • Filter- Filter() allows you to select a subset of rows in a data frame. the first argument is the tibble and the second argument is the variables within that data frame. it selects the rows where expression is true.
  • Arrange- Arrange() recorders the rows on the basis of data frames or a set of column names.  Desc() function is used to arrange columns in descending orders.
  • Mutate- it is used to add new variables to the data. it is also used to add new columns that are functions of existing columns. Dplyr::mutate is used to refer to the newly created column.
  • Select()- this function is used to zoom in on a useful subset that works on numeric values. With select(), you can use functions like ends_with(), matches(), starts_with(), etc.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    R Programming Interview Questions

    What is R Programming?

    R is a programming language and a software environment meant for statistical analysis and creating graphs. It is used b..

    R Programming Interview Questions

    Enlist some of the functions that R provides?

    The functions that R provides areMean- it is calculated by taking the sum of the values and dividing it by a number o..

    R Programming Interview Questions

    What are the different data structures in R?

    Data structure is a form of organizing and storing data. It is imperative to have a strong understanding of various dat..