% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geoms-clinical.R
\name{geom_bland_altman}
\alias{geom_bland_altman}
\title{Bland-Altman agreement plot}
\usage{
geom_bland_altman(
  mapping = NULL,
  data = NULL,
  color = NULL,
  size = NULL,
  alpha = NULL
)
}
\arguments{
\item{mapping, data}{Standard layer overrides. Map the two methods'
measurements to \code{x} and \code{y}; the stat computes mean and difference.}

\item{color}{Point color.}

\item{size}{Point radius.}

\item{alpha}{Point opacity.}
}
\value{
A \link{Layer} to add with \code{+}.
}
\description{
Difference against mean for two measurement methods, with the mean bias
and 95\% limits of agreement drawn as reference lines — the standard
method-comparison plot.
}
\examples{
set.seed(1)
a <- rnorm(60, 100, 12)
d <- data.frame(method_a = a, method_b = a + rnorm(60, 2, 5))
ggnext(d, aes(method_a, method_b)) + geom_bland_altman()
}
