Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


spsurvey (version 4.1.4)

sorted: Internal Function: Determine if a Vector is Sorted

Description

This function determines whether the input set of values is a nondecreasing sequence.

Usage

sorted(x)

Arguments

x

Vector of values.

Value

Logical variable, where TRUE = sorted and FALSE = not sorted.