% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ttest_interpret.R
\name{ttest_interpret}
\alias{ttest_interpret}
\title{T-Test with Plain-English Interpretation}
\usage{
ttest_interpret(
  x,
  y = NULL,
  mu = 0,
  paired = FALSE,
  conf.level = 0.95,
  var_name = "Variable"
)
}
\arguments{
\item{x}{A numeric vector (group 1, or the only group for one-sample)}

\item{y}{A numeric vector (group 2, for independent samples). Default NULL.}

\item{mu}{Hypothesised mean for one-sample t-test. Default 0.}

\item{paired}{Logical. TRUE for paired t-test. Default FALSE.}

\item{conf.level}{Confidence level. Default 0.95.}

\item{var_name}{Optional label for the report. Default "Variable"}
}
\value{
An object of class \code{statease_ttest} containing test
results and interpretation. Use \code{print()} to display the
formatted report.
}
\description{
T-Test with Plain-English Interpretation
}
\examples{
result <- ttest_interpret(c(23,45,12,67,34), c(19,38,22,51,29))
print(result)
}
