Re: [R] time difference error

2007-10-30 Thread jim holtman
I think the error message says it all. "fix" can not handle the data type of tdiff: > tdiff <-structure(c(168, NA, NA, 165, 175, 140, 191, 195, 130, 160, 135, + 165, 330, 178, 141, NA, 119, 90, 70, 99, 115, 70, 65, 90, 90, 65, 90, 75, + 85, 93, 52, 75, 60, 90, 105, 70, 65, 60, 85, 110, 65, 60,

[R] time difference error

2007-10-30 Thread Jojje Andersson
Hello! I posted this question earlier but it seems that something went wrong, so I post it again. I have a problem making a new variabel in a dataframe that consists of a time difference. It seems that the new variable gets into the dataframe but I cant look at it anymoore. Here is what happens.

[R] time difference error

2007-10-29 Thread Jojje Andersson
Hello! I have a problem making a new variabel in a dataframe that consists of a time difference. It seems that the new variable gets into the dataframe but I cant look at it anymoore. Here is what hapens. > tdiff<- difftime(Kontrolltid, Starttid, units="auto")> tdiffTime differences > i