Reorder | R Documentation |

This function returns the ordered partition of a set of numbers in ascending order and reorderd to start at one. This is an auxiliary function.

`Reorder(data)`

`data` |
vector of partition numbers to reorder. |

A vector of ordered partition numbers for this data.

```
Reorder(c(1,3,4,4,3,1))
# Expected : 1 2 3 3 2 1
```

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.