Add_R2: Add R2 to ggplot

Add_R2R Documentation

Add R2 to ggplot

Description

This is an idea and code taken from Anatolli Tsyplenkov https://github.com/atsyplenkov to add the R2 statistic to a ggplot.

Usage

Add_R2(...)

Arguments

...

Additional params to add to stat_poly_eq.

Value

A ggplot layer


joshualerickson/resourceviz documentation built on Jan. 10, 2024, 4:57 p.m.