MyNixOS website logo
Description

Automated Functions for Basic Statistical Tests.

Provides simple and intuitive functions for basic statistical analyses. Methods include the t-test (Student 1908 <doi:10.1093/biomet/6.1.1>), the Mann-Whitney U test (Mann and Whitney 1947 <doi:10.1214/aoms/1177730491>), Pearson's correlation (Pearson 1895 <doi:10.1098/rspl.1895.0041>), and analysis of variance (Fisher 1925, <doi:10.1007/978-1-4612-4380-9_5>). Functions are compatible with 'ggplot2' and 'dplyr'.

autotestR

Overview

autotestR is an R package designed to simplify and improve statistical analysis in the life sciences.

It combines automatic test selection, diagnostic evaluation, effect size reporting, and intuitive visualization to support transparent and responsible data interpretation.

Installation

You can install the development version of autotestR directly from GitHub:

# Install remotes if you don't have it yet
install.packages("remotes")

# Install autotestR from GitHub
remotes::install_github("Luiz-Garcia-R/autotestR")

Philosophy

autotestR is designed to go beyond "p-value driven" analysis.

The package emphasizes:

  • Effect sizes and confidence intervals
  • Automatic diagnostic checks
  • Warnings when test assumptions are violated
  • Transparent reporting of uncertainty
  • Encouragement of biological interpretation over mechanical decision-making

The goal is to support reproducible, interpretable, and responsible data analysis in the life sciences.

Main features

  • Automatic selection and execution of classical statistical tests
  • Integrated assumption diagnostics and warnings
  • Effect size estimation with confidence intervals
  • Robust alternatives for non-normal data
  • Built-in graphical summaries
  • Consistent and interpretable outputs
  • Support for categorical, continuous, and correlation analyses

What makes autotestR different?

Unlike many statistical wrappers that focus mainly on hypothesis testing, autotestR prioritizes interpretation.

Instead of providing only p-values, the package:

  • Reports effect sizes whenever possible
  • Highlights uncertainty
  • Flags potential violations of assumptions
  • Encourages users to look beyond statistical significance

This makes autotestR especially suitable for exploratory and applied research in biology, medicine, and veterinary sciences.

Automatic diagnostics and warnings

Many functions in autotestR automatically evaluate key assumptions (e.g., normality, homoscedasticity, expected frequencies).

When potential issues are detected, the user is informed through clear warnings and messages, helping prevent inappropriate test usage.

Basic usage

library(autotestR)

# Independent t test
group1 <- rnorm(30, 10, 2)
group2 <- rnorm(30, 12, 2)
test.t(group1, group2)

# Chi-squared test
var1 <- sample(c("A", "B"), 100, replace = TRUE)
var2 <- sample(c("Yes", "No"), 100, replace = TRUE)
test.chi(var1, var2)

# Multiple test (t test or Mann–Whitney)
df <- data.frame(
  control   = rnorm(30, 10),
  treatment = rnorm(30, 12),
  test1     = rnorm(30, 11),
  test2     = rnorm(30, 15)
)
test.tmulti(df)

# ANOVA with post hoc test
g1 <- rnorm(20, 5)
g2 <- rnorm(20, 7)
g3 <- rnorm(20, 6)
test.anova(g1, g2, g3)

# Correlation test
x <- rnorm(30)
y <- x + rnorm(30, 0, 1)
test.correlation(x, y)

Contact

If you have questions, suggestions, or would like to contribute, feel free to open an issue or submit a pull request on the GitHub repository.

Thank you for using autotestR!

Metadata

Version

1.2.15

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows