penaltyShootout {unitedR}R Documentation

Computing outcome of penalty shootout

Description

Computes outcome of a penalty shootout.

Usage

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).


[Package unitedR version 0.4 Index]