penaltyGoalsProb: Computing goals by united

Description Usage Arguments Value

View source: R/penaltyGoalsProb.R

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.


unitedR documentation built on May 29, 2017, 10:39 p.m.

Search within the unitedR package
Search all R packages, documentation and source code