model_home_away
runs home away model
model_home_away(data, variable)
data | The data frame on which the model is run.
It should come from |
---|---|
variable | variable to analyse |
The function returns a list with three elements :
info : a list with variable
ANOVA a list with two elements :
model
anova_model
Find details in the book here.