barplot2 {corto} | R Documentation |
barplot2 - Bar plot with upper error bars
Description
barplot2 - Bar plot with upper error bars
Usage
barplot2(values, errors, lower = FALSE, flat = TRUE, ...)
Arguments
values |
A matrix of values |
errors |
A matrix of values for upper error bar |
lower |
Boolean, whether the lower error bar should be plotted, default FALSE |
flat |
Boolean, whether the head of bars should be flat, default TRUE |
... |
Arguments to be passed to the core _barplot_ function |
Value
A plot
Examples
values<-matrix(rnorm(10*4,mean=10),nrow=4,ncol=10)
errors<-matrix(runif(10*4),nrow=4,ncol=10)
colnames(values)<-colnames(errors)<-LETTERS[1:10]
barplot2(values,errors,main="Bar plot with error bars")
[Package corto version 1.2.4 Index]