Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
midpoint(c(2,8))
# results are shown below.
# [[1]]
# [1] 2 5
#
# [[2]]
# [1] 5 8
midpoint(c(2,9))
# results are shown below.
# [[1]]
# [1] 2 5
#
# [[2]]
# [1] 6 9
# }
Run the code above in your browser using DataLab