is.nonTransitive {Rdice} | R Documentation |
Checks whether a given set of dice is non-transitive with given probability. If no probability is given, checks whether a given set of dice is generally non-transitive.
is.nonTransitive(df, prob)
df |
A |
prob |
The non-transitive probability according to which to check for non-transitivity. If unspecified, the function checks for general non-transitivity. |
A logical value: TRUE or FALSE.
See also nonTransitive.generator
.
df <- data.frame(
die1 = c(5,4,6,15),
die2 = c(3,6,16,2),
die3 = c(0,2,14,15),
die4 = c(8,10,1,9)
)
is.nonTransitive(df, prob = 9/16)