errorbarplot: barplot with errorbars

Description Usage Arguments Author(s)

Description

'height' and 'errors' much match exactly in dimension, and can either be both vectors, or both matrices.

Usage

1
2
3
4
5
6
7
8
  errorbarplot(height, width = 1, space = NULL,
    beside = FALSE, horiz = FALSE, ylim = NULL,
    xlim = NULL, ..., errors = NULL,
    errors.col = par("fg"), errors.width = 0.15,
    errors.type = c("+", "-"), pvalue.stars = NULL,
    pvalue.stars.pos = c("none", "above", "below", "top", "bottom", "left", "right"),
    pvalue.stars.cex = 1, pvalue.stars.col = "black",
    pvalue.stars.space = 0.05)

Arguments

height

see barplot

width

see barplot

space

see barplot

beside

see barplot

horiz

see barplot

ylim

see barplot

xlim

see barplot

...

see barplot

errors

the object containing errors (eg standard deviation) with the SAME size and dimension as height.

errors.col

the colour of the errors bars

errors.width

the proportion of width that the ticks should be at the top/bottom or lhs/rhs of the error tick

errors.type

plot the errors bars going into and outof the bar itself (eg just "+" will plot the tick pointing out of the bar)

pvalue.stars

stars to add above significant bars, or NULL. must be same dimensions as height and errors

pvalue.stars.pos

where to put the stars? one of above, top, right, below, bottom, left

pvalue.stars.cex

size of the stars

pvalue.stars.col

colour of the stars

pvalue.stars.space

buffer between stars and the errorbar

Author(s)

Mark Cowley, 28 April 2006


drmjc/mjcgraphics documentation built on May 15, 2019, 2:40 p.m.