% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/autotestR-package.R
\docType{package}
\name{autotestR}
\alias{autotestR-package}
\alias{autotestR}
\title{autotestR}
\description{
designed to simplify the execution of the main statistical tests commonly used in the life sciences.
It provides user-friendly functions that automatically generate plots and clear explanations,
making statistical analysis more accessible for researchers and students.
}
\section{Main features}{
\itemize{
\item t test (independent and paired)
\item Mann–Whitney test (Wilcoxon rank-sum)
\item Multiple group comparison (t test or Mann–Whitney)
\item Chi-squared test and Fisher’s exact test
\item One-way ANOVA with Tukey HSD post hoc test
\item Kruskal–Wallis test with Dunn post hoc test
\item Pearson, Spearman, and Kendall correlation tests with automatic plots
\item Diagnostic function that suggests the most appropriate statistical test
\item Intuitive plots fully integrated into the functions
}
\subsection{Basic usage}{

library(autotestR)
}
}

\section{Independent t test}{
group1 <- rnorm(30, 10, 2)
group2 <- rnorm(30, 12, 2)
test.t(group1, group2)
}

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

\section{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)
}

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

\section{Correlation test}{
x <- rnorm(30)
y <- x + rnorm(30, 0, 1)
test.correlation(x, y)
}

\author{
\strong{Maintainer}: Luiz Garcia \email{luiz.cardoso@ufpr.br} (\href{https://orcid.org/0000-0002-9616-0927}{ORCID})

}
