![]() |
VOOZH | about |
range() function in R Programming Language is used to get the minimum and maximum values of the vector passed to it as an argument.
Syntax: range(x, na.rm, finite)
Parameters:
- x: Numeric Vector
- na.rm: Boolean value to remove NA
- finite: Boolean value to exclude non-finite elements
Output:
[1] 2 54
Output:
[1] NA NA [1] 2 Inf [1] 2 54