% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/outlier_check.R
\name{outlier_check}
\alias{outlier_check}
\title{Check Numeric Outliers}
\usage{
outlier_check(data, k = 1.5)
}
\arguments{
\item{data}{A data.frame.}

\item{k}{A single positive numeric value controlling the
IQR multiplier. Default is 1.5.}
}
\value{
A data.frame of class \code{OutlierCheck}
containing variable-level outlier diagnostics.
}
\description{
Identifies potential outliers in numeric variables using
the interquartile range (IQR) method.
}
\details{
For each numeric variable, the lower and upper limits are:

\deqn{Q1 - k * IQR}

and

\deqn{Q3 + k * IQR}

Values strictly below the lower limit or strictly above
the upper limit are classified as potential outliers.

Missing and infinite values are excluded from the
calculation of quartiles and outliers. They are reported
separately.

Non-numeric variables are retained in the output but are
not evaluated for outliers.
}
\examples{
dat <- data.frame(
  x = c(10, 11, 12, 13, 100),
  group = c("A", "A", "B", "B", "B")
)

outlier_check(dat)

outlier_check(dat, k = 3)

}
