Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Tiger and LeBron
Tiger <- c()
LeBron <- c()
for (i in 1:1000) {
LeBron[i] <- sample(c( rep("Makes FT", 77), rep("Misses FT", 23)), 1)
Tiger[i] <- sample(c( rep("Fairway", 49), rep("Not FW", 51)), 1)
}
table(LeBron, Tiger)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.