% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geoms-base.R
\name{geom_freqpoly}
\alias{geom_freqpoly}
\title{Frequency polygon}
\usage{
geom_freqpoly(
  mapping = NULL,
  data = NULL,
  bins = 30,
  binwidth = NULL,
  color = NULL,
  linewidth = NULL,
  alpha = NULL
)
}
\arguments{
\item{mapping, data}{Standard layer overrides.}

\item{bins, binwidth}{Binning, as in \code{\link[=geom_histogram]{geom_histogram()}}.}

\item{color, linewidth, alpha}{Appearance.}
}
\value{
A \link{Layer} to add with \code{+}.
}
\description{
The same binning as \code{\link[=geom_histogram]{geom_histogram()}}, drawn as a line through the bin
centres. Easier to overlay across groups than filled bars.
}
\examples{
ggnext(cars, aes(speed)) + geom_freqpoly(bins = 8)
}
