Re: [R] loop with date

2012-11-27 Thread Tagmarie
Sorry again, project is part of the rgdal package. Tagmarie -- View this message in context: http://r.789695.n4.nabble.com/loop-with-date-tp4650961p4651005.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

Re: [R] loop with date

2012-11-27 Thread Tagmarie
Ok, sorry, I thought the more complex details might be confusing and nobody might answer. Here is something which looks more like my real dataframe and also what I want to do with it: That's my data frame: myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 1

Re: [R] loop with date

2012-11-27 Thread arun
   4.00 It is better to show the complex data as an example using dput() A.K. - Original Message - From: Tagmarie To: r-help@r-project.org Cc: Sent: Tuesday, November 27, 2012 9:02 AM Subject: [R] loop with date Hello, I tried to construct my very first loop today and completly

Re: [R] loop with date

2012-11-27 Thread jim holtman
Here is an example of an approach: > myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", + "24.09.2012 11:00", +"25.09.2012 09:00", "25.09.2012 10:00", + "25.09.2012 11:00"), + Speed=c(1,1,2,5,1,6)) > myframestime <

Re: [R] loop with date

2012-11-27 Thread R. Michael Weylandt
On Tuesday, November 27, 2012, Tagmarie wrote: > Hello, > I tried to construct my very first loop today and completly failed :-( > Maybe someone can help me? > I have a dataframe somewhat like this one: > > myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", > "24.09.2012 11

[R] loop with date

2012-11-27 Thread Tagmarie
Hello, I tried to construct my very first loop today and completly failed :-( Maybe someone can help me? I have a dataframe somewhat like this one: myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00", "25.09.2012 09:0