Arguments
away
away team (an object of the S4class formation)
DF
numeric vector for the strengths of the players in the
defense
formation
object of the S4class formation
GK
integer for the strength goalkeeper
hardness
numeric vector of length five with integers for the used hardness
home
home team (an object of the S4class formation)
homeAdv
numeric vector of length five with integers for the used hardness
MF
numeric vector for the strengths of the players in the
midfield
penaltyGoalProb
probability of a goal by a singular penalty
posPenalties
number of possible penalties in a game
preventGoalGK
factor multiplicied with the strength of the GK for computing the
probability of preventing a goal by the goalkeeper
preventGoalSW
factor multiplicied with the strength of the SW for computing the
probability of preventing a goal by the sweeper
r
number of replications for the simulation of hardness and penalties, can
be missing (exact results will be computed)
ST
numeric vector of integers for the strenghts of the strikers
SW
vector for the strength of the sweeper, can be
NA or a numeric