Non-transitive dice: Difference between revisions
Content deleted Content added
ReeceGoding (talk | contribs) Added R. |
ReeceGoding (talk | contribs) m →{{header|R}}: Changed variable name. |
||
Line 1,846:
rowWinner <- ifelse(comparisonTable["X"] > comparisonTable["Y"], "X",
ifelse(comparisonTable["X"] == comparisonTable["Y"], "-", "Y"))
if(
}
rows <- seq_len(nrow(diceSet)) #Recall that each row of diceSet is a dice.
|