Skip to contents

Linear regression text (not used)

Usage

lm_eqn_old(df, x, y)

Arguments

df

A dataframe

x

column name (string) of x-variable

y

column name (string) of y-variable

Value

A character string containing the expression of the R2 coefficient for use in ggplot labels or title