Description Usage Arguments Value Examples

The method below returns a sorted version of the data set given as first argument.

1 2 |

`x` |
a data frame or data set. |

`decreasing` |
a logical value, should sorting be in increasing or decreasing order? |

`by` |
a character name of variable names, by which to sort; a formula giving the variables, by which to sort; NULL, in which case, the data frame / data set is sorted by all of its variables. |

`na.last` |
for controlling the treatment of 'NA's. If 'TRUE', missing values in the data are put last; if 'FALSE', they are put first; if 'NA', they are removed |

`...` |
other arguments, currently ignored. |

A sorted copy of `x`

.

1 2 3 4 5 6 7 8 |

codebooks documentation built on May 31, 2017, 3:35 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.