collect.percentiled_df.Rd
When collect()
is used on a percentiled_df
, the virtual groups
are made explicit.
collect.percentiled_df(x, ..., id = NULL, original_id = NULL)
x | A |
---|---|
... | Not used. |
id | Optional. A single character that specifies a name for a column
containing a sequence from |
original_id | Optional. A single character that specifies a name for a column containing the original position of the row. |
library(dplyr)#> #>#>#> #>#>#> #>#>#> #>#> # A tibble: 34 x 12 #> # Groups: .percentile_mpg [2] #> .percentile_mpg mpg cyl disp hp drat wt qsec vs am gear #> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 0%-50% 18.7 8 360 175 3.15 3.44 17.0 0 0 3 #> 2 0%-50% 18.1 6 225 105 2.76 3.46 20.2 1 0 3 #> 3 0%-50% 14.3 8 360 245 3.21 3.57 15.8 0 0 3 #> 4 0%-50% 19.2 6 168. 123 3.92 3.44 18.3 1 0 4 #> 5 0%-50% 17.8 6 168. 123 3.92 3.44 18.9 1 0 4 #> 6 0%-50% 16.4 8 276. 180 3.07 4.07 17.4 0 0 3 #> 7 0%-50% 17.3 8 276. 180 3.07 3.73 17.6 0 0 3 #> 8 0%-50% 15.2 8 276. 180 3.07 3.78 18 0 0 3 #> 9 0%-50% 10.4 8 472 205 2.93 5.25 18.0 0 0 3 #> 10 0%-50% 10.4 8 460 215 3 5.42 17.8 0 0 3 #> # … with 24 more rows, and 1 more variable: carb <dbl>