Description Usage Arguments Value
Author: Kevin Wright
http://tolstoy.newcastle.edu.au/R/help/04/09/4300.html
Some ideas from Andy Liaw
http://tolstoy.newcastle.edu.au/R/help/04/07/1076.html
Use + for ascending, - for decending.
Sorting is left to right in the formula
Useage is either of the following:
sort.data.frame(~Block-Variety,Oats)
sort.data.frame(Oats,~-Variety+Block)
1 | sort_data_frame(form, dat)
|
form |
A Formula. See example in Description. |
dat |
Data frame to be ordered. |
Ordered data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.