model_home_away runs home away model

model_home_away(data, variable)

Arguments

data

The data frame on which the model is run. It should come from format_data_PPBstats.data_agro_HA #'

variable

variable to analyse

Value

The function returns a list with three elements :

  • info : a list with variable

  • ANOVA a list with two elements :

    • model

    • anova_model

Details

Find details in the book here.

See also