% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/easy_plots.R
\name{easy_density}
\alias{easy_density}
\title{Kernel Density Plot with Optional Group Overlay}
\usage{
easy_density(x, data = NULL, group_by = NULL, fill_alpha = 0.35, title = NULL)
}
\arguments{
\item{x}{Column name or numeric vector.}

\item{data}{A data frame.}

\item{group_by}{Optional grouping column for multi-group densities.}

\item{fill_alpha}{Alpha for filled area. Default \code{0.35}.}

\item{title}{Custom plot title.}
}
\value{
An \code{"easystat_result"} object with \code{plot_object}.
}
\description{
Draws a smooth kernel density estimate for a numeric variable. If a
grouping variable is provided, separate overlapping density curves are
drawn per group.
}
