Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sort-df-aw

Sort data frame


Description

Convenience method for sorting a data frame using the given variables.

Usage

sort_df(data, vars=names(data))

Arguments

data

data frame to sort

vars

variables to use for sorting

Details

Simple wrapper around order

Author(s)

Hadley Wickham <h.wickham@gmail.com>


reshape

Flexibly Reshape Data

v0.8.8
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.