About 50 results
Open links in new tab
  1. How to use or/and in dplyr to subset a data.frame

    How to use or/and in dplyr to subset a data.frame Asked 11 years, 6 months ago Modified 5 years, 4 months ago Viewed 95k times

  2. Using dplyr to conditionally replace values in a column

    Using dplyr to conditionally replace values in a column Asked 9 years, 10 months ago Modified 1 year, 10 months ago Viewed 162k times

  3. dplyr: order columns alphabetically in R - Stack Overflow

    dplyr: order columns alphabetically in R Asked 10 years, 8 months ago Modified 10 months ago Viewed 115k times

  4. r - data.table vs dplyr: can one do something well the other can't or ...

    Jan 29, 2014 · dplyr can possibly do things data.table will not or might not do as well. Based on the design of working in-memory, data.table could have a much more difficult time extending itself into …

  5. r - Rename multiple columns by names - Stack Overflow

    Jan 8, 2014 · Update dplyr 1.0.0 The newest dplyr version became more flexible by adding rename_with() where _with refers to a function as input. The trick is to reformulate the character …

  6. r - Count number of rows by group using dplyr - Stack Overflow

    I am using the mtcars dataset. I want to find the number of records for a particular combination of data. Something very similar to the count(*) group by clause in SQL. ddply() from plyr is working...

  7. Select unique values with 'select' function in 'dplyr' library

    Aug 29, 2014 · Is it possible to select all unique values from a column of a data.frame using select function in dplyr library? Something like "SELECT DISTINCT field1 FROM table1" in SQL notation. …

  8. r - Remove duplicated rows using dplyr - Stack Overflow

    15 Most of the time, the best solution is using from dplyr, as has already been suggested. However, here's another approach that uses the function from dplyr.

  9. r - How to sum a variable by group - Stack Overflow

    4 With dplyr 1.1.0 and above, you can use .by in summarise. This shortcut avoids to use group_by and returns an ungroup ed data frame:

  10. Applying a function to every row of a table using dplyr?

    Feb 17, 2014 · Often they should I guess, but I think when you are using something like dplyr or plyr or say data.table you should try to use their idioms so that your code doesn't become a difficult to share …