Description Usage Arguments Examples
Sort container.
1 2 3 4 |
x |
a container object; see as_container. |
... |
optional; extract these names from each element and use their values to sort. |
decreasing |
logical; should the sort be decreasing or increasing? |
1 2 3 4 5 | c <- as_container(list(list(time = 2), list(time = 1)))
container_sort(c, time)
c <- as_container(as.list(3:1))
sort(c)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.