About 51 results
Open links in new tab
  1. How to interpret dplyr message `summarise()` regrouping output by 'x ...

    Jun 1, 2020 · I started getting a new message (see post title) when running group_by and summarise() after updating to dplyr development version 0.8.99.9003. Here is an example to recreate the output: …

  2. r - Stop warnings with summarise - Stack Overflow

    Dec 14, 2021 · Stop warnings with summarise Ask Question Asked 4 years, 2 months ago Modified 3 years, 9 months ago

  3. r - Understanding the purpose of .groups = "drop" in dplyr's …

    May 3, 2024 · I'm having trouble grasping the purpose of .group = "drop" in dplyr's summarise function. I'm attempting to execute the following code to display the top 20 stations along with their resp...

  4. Finding percentage in a sub-group using group_by and summarise

    Apr 10, 2015 · Finding percentage in a sub-group using group_by and summarise Ask Question Asked 10 years, 11 months ago Modified 2 years, 5 months ago

  5. r - dplyr summarise_each with na.rm - Stack Overflow

    Sep 10, 2014 · Is there a way to instruct dplyr to use summarise_each with na.rm=TRUE? I would like to take the mean of variables with summarise_each("mean") but I don't know how to specify it to ignore …

  6. r - dplyr - summarise with condition - Stack Overflow

    Apr 4, 2021 · Or another option is to convert to 'long' format with pivot_longer, do the filter/group_by/summarise and then reshape to 'wide' with pivot_wider

  7. r - dplyr - summary table for multiple variables - Stack Overflow

    Jan 4, 2016 · How to create simple summary statistics using dplyr from multiple variables? Using the summarise_each function seems to be the way to go, however, when applying multiple functions to …

  8. r - Sum across multiple columns with dplyr - Stack Overflow

    Mar 5, 2015 · 185 My question involves summing up values across multiple columns of a data frame and creating a new column corresponding to this summation using dplyr. The data entries in the columns …

  9. 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...

  10. Relative frequencies / proportions with dplyr - Stack Overflow

    11 For the sake of completeness of this popular question, since version 1.0.0 of dplyr, parameter .groups controls the grouping structure of the summarise function after group_by summarise help. …