How do I create a function in R that will take in an interval or just a number and return the lowest value from that interval?
This is what I have tried so far