[R] to extract data

Stefan Grosse stefan.grosse at googlemail.com
Mon Apr 20 09:10:28 CEST 2009


On Sun, 19 Apr 2009 23:59:43 -0700 (PDT) Roslina Zakaria
<zroslina at yahoo.com> wrote:

RZ> I have a set of data from 1958-2009, how do I extract the data from
RZ> 1927 and 2007? 
RZ> beechworth.dt
RZ>      Year Month  Rain

how about:

beech.cut<-subset(beechworth.dt,(Year>1926&Year<2008))

hth
Stefan




More information about the R-help mailing list