compute_group_interceptlabel: compute a dataframe for plotting intercept coordinates label

View source: R/geom_lm_intercept_label.R

compute_group_interceptlabelR Documentation

compute a dataframe for plotting intercept coordinates label

Description

compute a dataframe for plotting intercept coordinates label

Usage

compute_group_interceptlabel(data, scales, digits = 3)

Arguments

data

a data frame with columns x and y

digits

a positive integer

Value

a data frame with intercept coordinates of x and y and coordinate label

Examples

library(dplyr)
library(magrittr)
cars %>%
rename(x = speed) %>%
rename(y = dist) %>%
compute_group_interceptlabel()


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