Skip to content
Prev 170895 / 398513 Next

Plotting Binned Data

Gundala Viswanath wrote:
I think barplot is what you want: something like
barplot(dat,names.arg=names(dat))

  Are you sure you want to keep the first element
of dat?  You're certainly not going to be able to
see anything that's going on with the other
values ...

barplot(dat[-1],names.arg=names(dat)[-1])

  Ben Bolker