Files Corresponding to Short Course Programming in R
myAbsoluteValue.
Allow the function to take in an entire vector of values by using if_else() to do your comparison.
if_else()
3 -5 c(3, -5) -10:10
Course Files Page