Re: [R] read mignight as 24:00 and not as 0:00

2012-07-18 Thread Sandy Adriaenssens
Ok, thank you Dan! I was already afraid that I would get this answer. I will solve it by defining date/time both as a date/time object and as a character object ( in another column) Regards, Sandy -- View this message in context: http://r.789695.n4.nabble.com/read-mignight-as-24-00-and-not-as-

Re: [R] read mignight as 24:00 and not as 0:00

2012-07-16 Thread Sandy Adriaenssens
Hi Dan, Thank you for your answer. I 'll try to provide some more information: I have only hourly data that go from 1:00:00 to 24:00:00, no minutes or seconds. These data represent the average of measured valuesof the previous hour (so 1:00:00 is the average of 0:00:00 to 1:00:00 data). I can i

[R] read mignight as 24:00 and not as 0:00

2012-07-15 Thread Sandy Adriaenssens
Dear all, I have dataset which contains date and time in the format "yearmonthdayhour". I can read in these data correctly as follows: mydata <- read.csv("pm10_corine_gridcel_hourly_2011.csv", header = TRUE) mydata$date <- as.POSIXct(strptime(mydata$date, format = "%Y%m%d%H", tz="UTC")) However,

[R] multiple comparisons with generalised least squares

2011-04-11 Thread Sandy Adriaenssens
Dear R users, I have used the following model: M1 <- gls(Nblad ~ Concentration+Season + Concentration:Season, data=DDD, weights=varIdent(form=~ 1 | Season*Concentration)) to assess the effect of Concentration and Season on nitrogen uptake by leaves (Nblad). I accounted for the difference in vari