Description Usage Arguments Value Examples
Select index of active or revealed to give biggest victory by active. If type is "reveal", pick index of active to reveal (always just max unless win is not possible). If type is "pair", pick index of revealed to pair (always just max unless win is not possible).
1 | pickerJustMax(active, revealed, exclude = NA, type = c("pair", "reveal"))
|
active |
single numeric |
revealed |
length 1 or 2 numeric |
length 1 numeric value 1
1 2 3 4 5 6 7 | pickerJustMax(active = 2, revealed = c(3, 1))
pickerJustMax(active = 3, revealed = 1:2)
pickerJustMax(active = 3, revealed = 4:5)
pickerJustMax(active = 1, revealed = 1)
pickerJustMax(active = 1, revealed = 5)
pickerJustMax(active = 1:5, revealed = 1:5, type = "reveal")
pickerJustMax(active = 1:5, revealed = rep(3, times = 5), type = "reveal")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.