geom_point_high_cooks: Returns a scatter plot with points that are colored if they...

View source: R/geom_point_high_cooks.R

geom_point_high_cooksR Documentation

Returns a scatter plot with points that are colored if they have a high cooks distance

Description

Returns a scatter plot with points that are colored if they have a high cooks distance

Usage

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

Value

a scatter plot with points that are colored if they have a high cooks distance

Examples

library(ggplot2)
library(magrittr)
cars %>%
ggplot(aes(x = speed, y = dist)) +
geom_point() +
geom_point_high_cooks(color = 'red')

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