barplot2 | R Documentation |
barplot2 - Bar plot with upper error bars
barplot2(values, errors, ...)
values |
A matrix of values |
errors |
A matrix of values for upper error bar |
... |
Arguments to be passed to the core _barplot_ function |
A plot
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.