Re: [R] y-axis-problem (barplots)

2012-05-07 Thread E Atescelik
And if the y-axis starts with 0: Instead of ylim=c(1,2), you take ylim=c(0,2). Thus barplot(x[,1], ylim=c(0,2)) Hopefully it is now correct. Kind regards,Esra Atescelik Date: Mon, 7 May 2012 09:55:06 +0200 From: stude...@gmail.com To: r-help@r-project.org Subject: [R] y-axis-problem

[R] question about transforming data into data frame object

2012-05-06 Thread E Atescelik
Hi,I had a question about transforming data into data frame object with two columns. I have data genal2.txt (see attachment) My data frame called genal2frame has to be in the form: genal2frame[1:6,] y mut 10.51056180.005 20.34283920.005 30.5490900