eb: A function for adding error bars to barplots

View source: R/eb.R

ebR Documentation

A function for adding error bars to barplots

Description

This function is a wrap around for barplot() that will add error bars. This code was written by Dr. Mike Hammond at the U of A.

Usage

eb(dv, fac, ...)

Arguments

dv

Numeric vector.

fac

Factors.

...

Elipsis for passing arguements

Examples

eb(mtcars$mpg, as.factor(mtcars$cyl), ylab = "Miles per gallon", xlab = "cyl")
library(untidydata)
data(spirantization)
eb(spirantization$cIntensity, as.factor(spirantization$position))

jvcasill/lingStuff documentation built on Jan. 5, 2025, 6:32 a.m.