Mimics dplyr::arrange using base R and rlang

b_arrange(.data, ...)

# S3 method for default
b_arrange(.data, ...)

# S3 method for split_df
b_arrange(.data, ...)

Arguments

.data

data.frame

...

Comma separated list of unquoted variable names, use `-` for descending order.

Value

data.frame

See also

Examples

airquality%>% b_arrange(-Month,Temp)%>% head()
#> Ozone Solar.R Wind Temp Month Day #> 148 14 20 16.6 63 9 25 #> 144 13 238 12.6 64 9 21 #> 140 18 224 13.8 67 9 17 #> 142 24 238 10.3 68 9 19 #> 153 20 223 11.5 68 9 30 #> 147 7 49 10.3 69 9 24