| perform_continuous_test | R Documentation |
Conducts hypothesis tests comparing continuous variables across groups. Supports t-tests, Wilcoxon tests, ANOVA, and Kruskal-Wallis tests with automatic selection based on number of groups.
perform_continuous_test(var_vec, grp_vec, test_type, stat_type)
var_vec |
Numeric vector of the continuous variable. |
grp_vec |
Factor or character vector defining groups. |
test_type |
Character string: "parametric", "nonparametric", or "auto". |
stat_type |
Character string indicating primary statistic being tested. |
Numeric p-value from the hypothesis test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.