se.bars: Draw standard error bar for discrete variables

View source: R/plotSlopes.R

se.barsR Documentation

Draw standard error bar for discrete variables

Description

Used with plotSlopes if plotx is discrete. This is not currently exported.

Usage

se.bars(x, y, lwr, upr, width = 0.2, col, opacity = 120, lwd = 1, lty = 1)

Arguments

x

The x center point

y

The fitted "predicted" value

lwr

The lower confidence interval bound

upr

The upper confidence interval bound

width

Thickness of shaded column

col

Color for a bar

opacity

Value in c(0, 254). 120 is default, that's partial see through.

lwd

line width, usually 1

lty

line type, usually 1

Author(s)

Paul Johnson


rockchalk documentation built on Aug. 6, 2022, 5:05 p.m.