[R-sig-eco] R graphics cookbook

2013-09-23 Thread Dylann Kersusan
Hi everyone, I am trying to apply the following lines of coding (they are from the R Graphics Cookbook, Chapter 3: Bar Graphs): ggplot(data, aes(x=year_bis,y=area)) + geom_bar(stat=identity) I do have a data.frame as follow: id year start_day locarea 1 1 2010 155 20 3.4388 2 1

Re: [R-sig-eco] R graphics cookbook

2013-09-23 Thread Roman Luštrik
I see `area` in your data.frame, but where's `year_bis`? Cheers, Roman On Mon, Sep 23, 2013 at 9:36 AM, Dylann Kersusan kersusan.dyl...@gmail.comwrote: Hi everyone, I am trying to apply the following lines of coding (they are from the R Graphics Cookbook, Chapter 3: Bar Graphs):

[R-sig-eco] R graphics cookbook

2013-09-23 Thread Jeremy Chacon
=year,y=area)) + geom_bar(stat=identity) it should work. Date: Mon, 23 Sep 2013 09:36:09 +0200 From: Dylann Kersusan kersusan.dyl...@gmail.com To: r-sig-ecology@r-project.org Subject: [R-sig-eco] R graphics cookbook Message-ID: CAEcqiB9vGNNO=s_xTer=xsWaqAsw= ctbhqgsxd2esmevzaj