sco_bayesian_btts: bayesian model of btts based on logit prior distirubtion...

View source: R/sco_bayesian_btts.R

sco_bayesian_bttsR Documentation

bayesian model of btts based on logit prior distirubtion (case = both teams to score (btts))

Description

bayesian model of btts based on logit prior distirubtion (case = both teams to score (btts))

Usage

sco_bayesian_btts(year_input, league_input, var_input, team_input)

Arguments

year_input

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

league_input

sco_pl (Premiership) or sco_ch (Championship)

var_input

select whether team is play home ("hometeam") or away ("awayteam")

team_input

team

Value

a tibble of team and median of samples distributions ("best guess")


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