rg_geom_equation: Adding model equation to ggplot. Wrapper around stat_poly_eq...

Description Usage Arguments

View source: R/plot_geoms.R

Description

Adding model equation to ggplot. Wrapper around stat_poly_eq with standard options for label

Usage

1
rg_geom_equation(formula, elements = c("eq", "r2", "p"), sep = ", ", ...)

Arguments

formula

Formula, Model formula

elements

String or vector of strings, The parts of the model statistics that should be included in the output

sep

String, separator between model elements

...

Further parameters passed on to stat_poly_eq one of index or name.


sitscholl/Rgadgets documentation built on Feb. 19, 2021, 1:24 a.m.