sort.lvec | R Documentation |
Sort a lvec
## S3 method for class 'lvec' sort(x, decreasing = FALSE, clone = TRUE, ...)
x |
lvec to sort |
decreasing |
unused (a value unequal to |
clone |
clone x before sorting |
... |
unused. |
Sorts x
and returns a sorted copy of x
. When clone
is
FALSE
the input vector is modified.
x <- as_lvec(rnorm(10)) sort(x) # Effect of clone a <- as_lvec(rnorm(10)) b <- sort(a, clone = FALSE) print(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.