Learn R Programming

rockchalk (version 1.8.144)

se.bars: 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