dot-f_stat_from_df: .f_stat_from_df

.f_stat_from_dfR Documentation

.f_stat_from_df

Description

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'.

Usage

.f_stat_from_df(df, include_p = FALSE)

Arguments

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.

Value

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.


valueSetCompare documentation built on June 22, 2024, 6:57 p.m.