Check whether one or more vectors are sorted. In the case of more than one vector, the function checks if each vector is sorted within blocks of the preceeding vector(s).
One or more atomic vectors, all of the same length.
If called with a single argument
x, this function simply returns
!is.unsorted(x). If called with
more than one argument, then
order is used on all arguments, and the result is compared to
n is the common length of all the arguments.
Thus, in the multiple vector case, the ordering is defined by the nested structure of the vectors (See example).
Ben Rich <[email protected]>
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.