compute_group_coordinates: A Function to Label Points

View source: R/geom_coordinates.R

compute_group_coordinatesR Documentation

A Function to Label Points

Description

A Function to Label Points

Usage

compute_group_coordinates(data, scales)

Arguments

data

this is the data set where the points are found

scales

Value

this function returns the coordinates of the point as: (x,y)

Examples

library(dplyr)
library(magrittr)
cars %>%
  mutate(x = speed, y = dist) %>%
  select(x,y) %>%
  compute_group_coordinates()

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