What I am trying to do -->> Two teams, say the Cavs and the Warriors, are playing a seven game championship series. The first to win four games wins the series. The teams are equally good, so they each have a 50-50 chance of winning each game.
My desired output -->> If the Cavs lose the first game, what is the probability that they win the series?
I feel pretty confident with the first three lines and the last line of meaningful code. My definition of the "results" variable is where I am not sure. I am trying to check for the number of rows in the "possibilties" data frame where the number of "1s" for wins is equal to or greater than 4 (four). any ideas ? thanks