get_team_formula: Get team formula

View source: R/get_team_formula.R

get_team_formulaR Documentation

Get team formula

Description

Get team formula

Usage

get_team_formula(data, intercept = FALSE, home = FALSE)

Arguments

data

tibble with modeling data and attack and defence flags (see join_att_and_def_team_flags)

home

logical indicating if Home variable should be included in the formula

Value

formula with all attack and defence terms for a design matrix with full rang


kristian-bak/football documentation built on Oct. 8, 2022, 2:11 p.m.