Last active
December 7, 2020 11:54
-
-
Save gumdropsteve/0c87769788a6f465b0deb67ea4c0b9b5 to your computer and use it in GitHub Desktop.
This file contains 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
deck <- read.csv('https://github.com/gumdropsteve/datasets/raw/master/deck.csv') | |
set.seed(42) # so we get the same 'random' shuffle every time (don't do this IRL unless you have a reason to) | |
rows <- sample(nrow(deck)) | |
shuffled_deck <- deck[rows, ] | |
shuffled_deck |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment