Add a smooth from a logistic regression
geom_smooth_logistic.Rd
Add a smooth to a ggplot
, using a logistic model.
Arguments
- mapping
Set of aesthetic mappings created by
aes()
. If specified andinherit.aes = TRUE
(the default), it is combined with the default mapping at the top level of the plot. You must supply mapping if there is no plot mapping.- data
The data to be displayed in this layer. See
ggplot::geom_smooth
for additional details.- se
logical specifying if confidence interval should be shown around the smooth.
- ...
other arguments passed to
geom_smooth
.