Created
August 5, 2022 15:03
-
-
Save elowy01/a445f6911d96a4e7a0db9186b77b5a8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# square of all elements in a vector | |
sapply(1:10, function(i) i ^ 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment