R Tutorial - Day 4 - More loops, functions, and apply Day 4 Code - More loops, functions, and applyDay 4 Data Function example - sun position