calcLambdas: Calculate a Holgate's Poisson parameters for a soccer match.

View source: R/calcLambdas.R

calcLambdasR Documentation

Calculate a Holgate's Poisson parameters for a soccer match.

Description

Calculate a Holgate's Poisson parameters for a soccer match.

Usage

calcLambdas(coef, home, visitor, local = 1)

Arguments

coef

a three column matrix resulting from calcCoefSD1 function.

home

home team name.

visitor

visitor team name.

local

indicator for local factor to the match. Must be 0 or 1 (default).

Value

a vector of lenght three containing the Holgate's Poisson parameters for the match.


ghesteves/soccerProbs documentation built on Sept. 17, 2022, 4:41 a.m.