% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easy_plots.R
\name{easy_histogram}
\alias{easy_histogram}
\title{Annotated Histogram with Normal Curve Overlay}
\usage{
easy_histogram(
  x,
  data = NULL,
  bins = NULL,
  fill_color = NULL,
  show_normal = TRUE,
  title = NULL
)
}
\arguments{
\item{x}{Character column name OR a numeric vector.}

\item{data}{A data frame (required when \code{x} is a column name).}

\item{bins}{Number of histogram bins. Default \code{NULL} (auto).}

\item{fill_color}{Bar fill color. Default EasyStat primary blue.}

\item{show_normal}{Logical; overlay normal curve? Default \code{TRUE}.}

\item{title}{Custom plot title. Default auto-generated.}
}
\value{
An \code{"easystat_result"} object with \code{plot_object}.
}
\description{
Draws a histogram of a numeric variable, overlays a fitted normal density
curve, and annotates the plot with the mean, median, and standard deviation.
Normality is assessed via the Shapiro-Wilk test, and the result is displayed
in the subtitle.
}
