Skip to content
Back to formatted view

Raw Message

Message-ID: <49EC1FA3.6000307@life.ku.dk>
Date: 2009-04-20T07:09:23Z
From: Christian Ritz
Subject: to extract data
In-Reply-To: <617814.36133.qm@web58704.mail.re1.yahoo.com>

Hi,

maybe the following line works for you:


beechworth.dt.2 <- beechworth.dt[as.numeric(beechworth.dt$Year) %in% 1927:2007, ]


(using as.numeric() to make sure that "Year" is numeric, maybe not needed?).

Christian