knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(gglmplot)

Quick start guide

gglmplot is an example project invented to demonstrate how to create R packages and use github. The only (currently) function in this package shows a plot of a linear regression model along with confidence and prediction intervals. Here is an example how to use it:

## generate example data
x <- rnorm(100)
y <- x + rnorm(100)

model <- lm(y ~ x)
gglmplot(model)


january3/gglmplot documentation built on July 11, 2020, 12:33 a.m.