penaltyGoalsProb {unitedR} | R Documentation |
Computing goals by united
Description
Computes the distribution function of possible goals by penalties.
Usage
penaltyGoalsProb(posPenalties, penaltyGoalProb, penaltyProb = 0.1)
Arguments
posPenalties |
number of possible penalties in a game |
penaltyGoalProb |
probability of a goal by a singular penalty |
penaltyProb |
occurrence probability of a penalty |
Value
A data.frame
with two columns: the possible goals and the probability
for achieving this number of goals.
[Package unitedR version 0.4 Index]