Description Usage Arguments Examples
View source: R/lipidome_comparison_hypothesis_testing.R
'one_way_anova_by_col' performs an ANOVA for each numeric column of a data frame and returns f-statistic and p-value in a data frame.
1 | one_way_anova_by_col(input_df, factor_col, print_all = FALSE)
|
input_df |
data frame. Has multiple columns with numerical variables and at least one column with a factor variable. |
factor_col |
string. Gives the name of the column, where the groups between which the anova is performed are stored. |
print_all |
bool. Prints a summary of each anova. Default = FALSE |
1 2 | one_way_anova_by_col(iris, "Species")
one_way_anova_by_col(iris, "Species", print_all = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.