Computing goals by united

Share:

Description

Computes the distribution function of possible goals by penalties.

Usage

1
penaltyGoalsProb(posPenalties, penaltyGoalProb)

Arguments

posPenalties

number of possible penalties in a game

penaltyGoalProb

probability of a goal by a singular penalty

Value

A data.frame with two columns: the possible goals and the probability for achieving this number of goals.