model_anova runs classic anova model

model_anova(data, variable)

Arguments

data

The data frame on which the model is run. It should come from format_data_PPBstats.data_agro

variable

variable to analyse

Value

The function returns a list with three elements :

  • info : a list with variable and gxe_analysis

  • ANOVA a list with five elements:

    • model

    • anova_model

    • germplasm_effects a list of two elements:

      • effects

      • intra_variance

Details

More information can be found in the book regarding classic anova.

See also