geom_text_coordinate: Returns a scatter plot with points that are labeled

View source: R/geom_coordinates.R

geom_text_coordinateR Documentation

Returns a scatter plot with points that are labeled

Description

Returns a scatter plot with points that are labeled

Usage

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

Value

a scatter plot with points that are labeled

Examples

library(ggplot2)
library(magrittr)
cars %>%
ggplot(aes(x = speed, y = dist)) +
geom_point() +
geom_text_coordinate(check_overlap = TRUE,
nudge_x = .3)

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