is_sorted | R Documentation |
Is a vector sorted?
is_sorted(x, asc = NA)
isntSorted(x, asc = NA)
x |
An atomic vector. |
asc |
Single logical. If |
is_sorted
returns TRUE
or FALSE
isntSorted
returns 0
if sorted or the first position
that proves the vector is not sorted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.