ggplotRegression: Make a crude scatterplot with regression line printed on it

Description Usage Arguments Examples

View source: R/ggplotRegression.R

Description

This is a wrapper around broom:::tidy that adds formatted confidence intervals and p values

Usage

1
ggplotRegression(fit, d = 3, d_pval = 3)

Arguments

fit

Linear model with a single continuous predictor

d

Decimal places used for HR and confidence interval

d_pval

Decimal places used for p value.

Examples

1
2
3
4
## Not run: 
ggplotRegression()

## End(Not run)

Oromendia/oromendia documentation built on April 6, 2021, 6:54 a.m.