[R] barchar or barp on multiple data

Adel ESSAFI adelessafi at gmail.com
Tue Jan 14 19:08:59 CET 2014


Hello list
I have the following data in file in attachment.
in want to draw bars for every value of V5 in finction of V3
grouped by V2*V1. however, each unique value
of V4, V2 and V1 I want to draw a bar.

This example is very close to want I want to do. but
here, for each value of V3, barchart draws 2 superimposed  bar.
How to do to make them one beside another.


Thanks


t=read.table("actual")
barchart( V5 ~ V3 | V2 * V1,t)


More information about the R-help mailing list