PanelLM: Add Linear Regression (Line & Ouput) to 'graphics::pairs()'...

Description Usage Arguments Value Examples

View source: R/plot_pairs.R

Description

Allows one to easiliy display linear regression & some output (e.g., slope; intercept; p-value) on 'graphics::pairs()' plot.

Usage

1
PanelLM(out = c("points", "text"))

Arguments

out

Character. Either "points" (default) or "text allowing for either points with linear regression line or text (e.g., slope; intercept). Pass this function to either 'lower.panel' or 'upper.panel' in 'graphics::pairs()'.

Value

Function suited for use as described above.

Examples

1
# coming soon

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.