confbounds: Add Confidence Bounds to Linear Model Plots

Description Usage Arguments Author(s) Examples

Description

Draws in confidence line segments based on model objects.

Usage

1
confbounds(model, xbounds = range(model$model[, 2]), level = 0.95, ...)

Arguments

model

an object containing the results returned by a model fitting function (e.g., lm or glm).

xbounds

left-right limits on the lines to be drawn.

level

float (0,1); the confidence level, defaults to 0.95.

Author(s)

Mike Vlah, vlahm13@gmail.com

Examples

1
confbars(mod1, lty=2, col='red')

vlahm/statextra documentation built on May 3, 2019, 6:16 p.m.