# FairCoin2 # FairCoin2 Example; Same as FairCoin2 but analyze a contingency table rather than the raw data. flips = c(29, 21) probs = c(0.5, 0.5) chisq.test(flips, p=probs)