lmEq: lmEq

Description Usage Arguments Value Examples

Description

A function to generate the linear model equation and r-squared for labelling plots of two variables against each other - e.g. branch lengths recoverd from rj bayes traits.

Usage

1

Arguments

df

data frame with x and y as the x and y variables.

Value

a string that can be used as a label for ggplot.

Examples

1
lmEq(data.frame(x = dat$og, y = dat$rj))

hferg/hfgr documentation built on May 17, 2019, 3:56 p.m.