This function compares the means of a response variable across groups specified by group_var.
This function compares the means of a response variable across groups specified by group_var.
compare_means(formulation_data, group_var, response_var)compare_means(formulation_data, group_var, response_var)
Results of the t-test comparing means across groups.
Results of the t-test comparing means across groups.
A data frame containing formulation data.
The variable defining the groups for comparison.
The response variable to compare across groups.