![]() |
VOOZH | about |
In this article, we will discuss how to find the Nth smallest in vector in the R programming language.
Syntax:
sort(vector name ) [n value])
Parameter:
- Vector name is the vector which we created.
- N value is which largest number you want to print.
Example 1:
Output:
[1] 1
Example 2:
Output:
[1] 39898