Which of the following functions returns the maximum value in a vector?
a) min()
b) max()
c) range()
d) summary()
Answer:
b) max()
Explanation:
The max() function returns the largest value from a given vector.
The max() function returns the largest value from a given vector.