sco_poisson_xg: possion model of expected goals for home and away team

View source: R/sco_poisson_xg.R

sco_poisson_xgR Documentation

possion model of expected goals for home and away team

Description

possion model of expected goals for home and away team

Usage

sco_poisson_xg(
  year_input,
  league_input,
  hometeam_input,
  awayteam_input,
  date_lim
)

Arguments

year_input

input as character in years of seasons, eg. "yyyy"

league_input

sco_pl (Premiership) or sco_ch (Championship)

hometeam_input

hometeam

awayteam_input

awayteam

date_lim

limit of date to include

Value

a object with prediction


steffenbank/scoccer documentation built on Feb. 4, 2024, 3:30 p.m.