a guest Mar 20th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- integers <- c(1, 2, 3, 4, 5)
- squares <- integers ^ 2 # A function applied to a vector is applied to each item in the vector
- # Expected result:
- # 1 4 9 16 25
RAW Paste Data