rankPlayedInference: Conditional Probability Distributions in Hearts Card Game

For a given suit, if you add up the number of cards that you hold, plus the number that has been played so far, you can easily determine the number that remains in the combined hands of your three opponents. You can also determine the ("special") card of highest rank of the remaining cards for that suit. At some point, you notice that a certain opponent discards that special card. What can you infer about his holding in that suit? A series of simulation studies are reported here that allows a quantitative inference based on the conditional probability, given that the opponent has the special card. The same procedure is also used for the conditional probability, given that the opponent does not have the special card.

Version: 1.0
Depends: R (≥ 4.2.0)
Imports: grDevices, graphics
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-05-11
DOI: 10.32614/CRAN.package.rankPlayedInference
Author: Barry Zeeberg [aut, cre]
Maintainer: Barry Zeeberg <barryz2013 at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: rankPlayedInference results

Documentation:

Reference manual: rankPlayedInference.html , rankPlayedInference.pdf
Vignettes: rankPlayedInference (source)

Downloads:

Package source: rankPlayedInference_1.0.tar.gz
Windows binaries: r-devel: rankPlayedInference_1.0.zip, r-release: rankPlayedInference_1.0.zip, r-oldrel: rankPlayedInference_1.0.zip
macOS binaries: r-release (arm64): rankPlayedInference_1.0.tgz, r-oldrel (arm64): rankPlayedInference_1.0.tgz, r-release (x86_64): rankPlayedInference_1.0.tgz, r-oldrel (x86_64): rankPlayedInference_1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rankPlayedInference to link to this page.