Description Usage Arguments Details Value Author(s) See Also Examples

Ordering (sorting) rows of a data frame by the certain
variables in the data frame. This function is essentially a
wrapper for the `order()`

function - the important
difference being that variables to order by can be given by a
model formula.

1 |

`formula` |
The right hand side of a formula |

`data` |
A dataframe |

The sign of the terms in the formula determines whether sorting should be ascending or decreasing; see examples below

The ordered data frame

Søren Højsgaard, [email protected] and Kevin Wright

1 2 3 |

hojsgaard/doBy documentation built on Oct. 11, 2019, 9:55 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.