Crandore Hub

boxTest

Boxplot and Significance Test for Two Groups

Provides functions to create side-by-side boxplots for a continuous variable grouped by a two-level categorical variable, check normality assumptions using the Shapiro-Wilk test (Shapiro and Wilk (1965) <doi:10.2307/2333709>), and perform appropriate statistical tests such as the independent two-sample t-test (Student (1908) <doi:10.1093/biomet/6.1.1>) or the Mann–Whitney U test ( Mann–Whitney (1947) <doi:10.1214/aoms/1177730491>). Returns a publication-ready plot and test statistics including test statistic, degrees of freedom, and p-value.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 2026-04-09 windows/windows R-4.5 boxTest_0.1.0.zip 26.9 KiB

Dependencies (latest)

Imports

Suggests