.f_stat_from_df | R Documentation |
The function is designed to compute F-statistic(s) using one-way ANOVA for each numeric column in the provided data frame against a reference column named 'gr'.
.f_stat_from_df(df, include_p = FALSE)
df |
A data frame containing one or more numeric columns and a reference column named 'gr'. |
include_p |
A logical value indicating whether to include the p-values in the result. |
If include_p is FALSE, a named numeric vector of F-statistics for each column against the 'gr' column. If include_p is TRUE, a matrix with two rows containing F-statistics and p-values, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.