geom_lm_pred_int_segments: Drawing prediction interval for OLS linear model as segments

geom_lm_pred_int_segmentsR Documentation

Drawing prediction interval for OLS linear model as segments

Description

Drawing prediction interval for OLS linear model as segments

Usage

geom_lm_pred_int_segments(
  mapping = NULL,
  data = NULL,
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  ...
)

Arguments

...

Examples

library(ggplot2)
ggplot(cars) + aes(x = speed, y = dist) +
geom_point() + geom_lm() + geom_lm_pred_int_segments(num_breaks = 100)

EvaMaeRey/ggxmean documentation built on April 10, 2024, 6:32 p.m.