Minimum of a Vector easy
R Basics

Write an R function solution(x) that returns the minimum value in the numeric vector x.

Example

solution(c(3, 7, 2, 9))  →  2
solution.py
14px
📊 Test Results
Run your code to see test results here.