Description Usage Arguments Value

View source: R/penaltyGoalsProb.R

Computes the distribution function of possible goals by penalties.

1 | ```
penaltyGoalsProb(posPenalties, penaltyGoalProb)
``` |

`posPenalties` |
number of possible penalties in a game |

`penaltyGoalProb` |
probability of a goal by a singular penalty |

A `data.frame`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.