On 06/22/2012 07:35 PM, Manish Gupta wrote:
HI,
I have one input file
Alpha 0 0.625
Beta 1 0.107143
Gama 2 0.910714
Delta 0 0
zeta 0 0
eta 0 0.089286
I want to to plot bar plot like below
http://r.789695.n4.nabble.com/file/n4634182/Screenshot.png
I can plot if i have input file in transpose format but how can i do this
in R using above input file.
Hi Manish,
Don't you ever read the help pages?
barplot(cbind(Alpha,Beta,Gama,Delta,zeta,eta),beside=TRUE,horiz=TRUE)
Jim
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.