Re: [R] rbind/timestamp problem

2013-12-10 Thread Georg Hörmann
Thank you, now it works. I would never have never found the source of the problem. I am trying to build a data frame with results from a sensitivity analysis for a model. I use rbind because the number of rows is unkown and i use the timestamp as a hint for the students that they do not analyse

Re: [R] rbind/timestamp problem

2013-12-10 Thread jim holtman
try this: > sensitivity=rbind(sensitivity,data.frame(mtype=2,cdate=as.POSIXct(Sys.time(), > origin="1970-01-01"))) > sensitivity mtype cdate 1 1 2013-12-10 09:35:53 2 2 2013-12-10 09:37:02 The 'c' function is coercing to numeric. If you want to 'rbind' rows to a datafram