powered by
Check whether all elements given are sorted in non-descending order
is_nondesc(...)
TRUE if the elements are sorted in non-descending order, otherwise FALSE
TRUE
FALSE
anything!
Kelly Sovacool sovacool@umich.edu
is_nondesc(1, 2, 3) is_nondesc(c(1, 2), 3) is_nondesc(6, 4, 1) is_nondesc("a", "b", "c") is_nondesc(c("z", "y"))
Run the code above in your browser using DataLab