Skip to contents

Groups ANOVA results by method, response variable and restriction, then selects the method with the lowest AIC for each restriction. Returns a sorted data frame with best performing methods for each restriction and response variable.

Usage

get_best_methods(anova_df)

Arguments

anova_df

Data frame of ANOVA results, containing at least columns 'response_variable', 'model', and 'AIC'.

Value

A data frame filtered to best methods per response variable and restriction, sorted by AIC.