Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » Basic » Statistics » NthValue
| Module: | FoundationLite | 
|---|
Computes n-th smallest value in an array (0-indexed). The array must be not empty.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inValues | RealArray | |
![]()  | 
				inN | Integer | |
![]()  | 
				outNthValue | Real | 
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Selected N exceed the array index range in NthValue. | 
Complexity Level
This filter is available on Advanced Complexity Level.

 Advanced
