Re: [R] Problem with strptime

2012-05-28 Thread Des Callaghan
Fantastic, thanks very much Richard. The addition of 'tz="GMT"' worked a treat. Best wishes, Des From: Richard M. Heiberger [mailto:r...@temple.edu] Sent: 28 May 2012 02:09 To: Des Callaghan Cc: r-help@r-project.org Subject: Re: [R] Problem with strptime Some of your

[R] Problem with strptime

2012-05-27 Thread Des Callaghan
Hello Forum, I have a problem with the strptime function. With the 'data1' dataset below it works fine, but with the 'data2' dataset something goes wrong (see final line below). Both data1 and data2 are in exactly the same original format, the only difference is that they span different dates.

[R] model selection method - step() or bic.glm()

2008-01-20 Thread Des Callaghan
Dear R-helpers, I'm considering two methods of selecting a poisson regression model within R: 1. Using the step() function (stats package) to find the best model by a stepwise algorithm and AIC 2. Using the bic.glm() function (BMA package) to find the best model by Bayesian Model Averaging and BI