Created
December 8, 2019 04:40
-
-
Save ricardoochoa/c0c2fc8f2621ae4108e00ffd5826dcec to your computer and use it in GitHub Desktop.
[Random numbers] Create random numbers in R #random
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
# Select random numbers from a list with no replacement | |
sample(x = 1:18, # vector with numbers to choose from | |
size = 18, # size of the sample | |
replace = F) # no replacement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment