3. Functions
Learn to use built-in R functions and write your own, with live, editable R code.
R comes with hundreds of built-in functions (sum(), sd(), sort()โฆ), and you can write your own with function(...). The last evaluated expression inside a function is what it returns.