Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-14 Thread Bert Gunter
Please stop asking such basic questions on this list and start reading An Intro to R (ships with R) or any other beginning R tutorial. It seems to me to be impolite to pester this list for beginners' instructions without first having made at least a minimal effort to to familiarize yourself with R

Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-14 Thread R_beginner_starter
Thanks a lot, Jim. I get my desired output by using your R script at the end Yesterday was my mistake Apart from that, do you have any idea to plot a line graph/chart? My Input file is shown as below: Range Data1 Data2 1 38 37 2 38 37 3 38 37 4 37

Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-13 Thread R_beginner_starter
Hi, Jim Below is the code that I try and the result I obtained: *br<-read.table("R_beginner_starter.dat",header=TRUE,sep="\t") library(plotrix) barp(t(br[,c(2,4)])) * The result generated: http://r.789695.n4.nabble.com/file/n4468592/ScreenHunter_01_Mar._13_17.10.jpg Which is different with m

Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-07 Thread Jim Lemon
On 03/06/2012 07:09 PM, R_beginner_starter wrote: Thanks a lot, Jim. Do you mind to post out the complete content of your R script suggested? I got add in your R code in my existing R script. It shown the following error message: Error in rbind(br[, 2] + 1, br[, 4]) : object 'br' not found Hi

Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-06 Thread R_beginner_starter
Thanks a lot, Jim. Do you mind to post out the complete content of your R script suggested? I got add in your R code in my existing R script. It shown the following error message: Error in rbind(br[, 2] + 1, br[, 4]) : object 'br' not found Thanks for your further reply. -- View this message in

Re: [R] Help with plot Grouped Bar Plot by using R

2012-03-06 Thread Jim Lemon
On 03/06/2012 03:49 PM, R_beginner_starter wrote: My input file: ... http://r.789695.n4.nabble.com/file/n4448762/ScreenHunter_01_Mar._06_12.42.jpg Hi R_beginner_starter, If you don't really need the 3D effect, you can get more or less that plot with this (br is your data): library(plotrix) b