% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geoms-base.R
\name{geom_linerange}
\alias{geom_linerange}
\title{Vertical interval without a marker}
\usage{
geom_linerange(
  mapping = NULL,
  data = NULL,
  color = NULL,
  linewidth = NULL,
  alpha = NULL
)
}
\arguments{
\item{mapping, data}{Standard layer overrides. Requires \code{x}, \code{ymin},
\code{ymax}.}

\item{color, linewidth, alpha}{Appearance.}
}
\value{
A \link{Layer} to add with \code{+}.
}
\description{
The interval alone; add \code{\link[=geom_point]{geom_point()}} for an estimate marker, or use
\code{\link[=geom_pointrange]{geom_pointrange()}} which draws both.
}
\examples{
d <- data.frame(g = c("a", "b"), lo = c(1, 2), hi = c(4, 5))
ggnext(d, aes(g, ymin = lo, ymax = hi)) + geom_linerange()
}
