Displaying 1 result from an estimated 1 matches for "counthh".
Did you mean:
count
2009 Aug 31
4
Offtopic, HT vs. HH in coin flips
Dear R-help,
Could someone please try to explain this paradox to me? What is more likely to show up first in a string of coin tosses, "Heads then Tails", or "Heads then Heads"?
##generate 2500 strings of random coin flips
ht <- replicate(2500,
paste(sample(c("H", "T"), 100, replace = TRUE),
collapse =