simTiebreak: simTiebreak

Description Usage Arguments Value

Description

simulate a tiebreak between two players

Usage

1
2
simTiebreak(pA, pB, p2A = NULL, firstServeA = NULL, p2B = NULL,
  firstServeB = NULL)

Arguments

pA

probability of player A winning point on their serve

pB

probability of player B winning point on their serve

p2A

probability of player A winning point on their second serve

firstServeA

probability of player A getting their first serve in

p2B

probability of player B winning point on their second serve

firstServeB

probability of player B getting their first serve in

Value

1 (if player A wins), 0 (if player B wins)


durtal/servevolleyR documentation built on May 15, 2019, 6:02 p.m.