Reorder | R Documentation |
Reorders the rows or columns of a table.
Reorder(
x,
rows = "Descending",
columns = "Descending",
FUN = mean,
fudge = 1e-06
)
x |
A |
rows |
One of |
columns |
Same as |
FUN |
A function to be applied to the rows and/or columns as the
basis for the re-odering. Defaults to |
fudge |
The value of fudge * i, where i is the row or column number is added to each cell. This ensure that ties are broken (provided that the values of the data are not very small, and that they are broken in a consistent and likely orderly way (e.g., if all the numbers in the table are the same, the table is not reordered). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.