penaltyShootout: Computing outcome of penalty shootout

Description Usage Arguments Value

Description

Computes outcome of a penalty shootout.

Usage

1
penaltyShootout(probPenaltySaveHome, probPenaltySaveAway, initial = 5)

Arguments

probPenaltySaveHome

probability of saving a penalty for home team

probPenaltySaveAway

probability of saving a penalty for away team

initial

number of initial penalties (default 5)

Value

list with probabilities of final outcome (winProbabilityHome, winProbabilityAway).


unitedR documentation built on July 8, 2020, 6:38 p.m.