You are right, I'm sorry, but perhaps: time <- "19:00:00" time > "18:00:00" & time < "23:59:59"
works? -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O On 10/08/07, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > > Henrique Dallazuanna wrote: > > Hi, > > > > Try whit: > > > > if(time[j] >= "18:00:00" & < "23:59:59") > > This code is obviously wrong and does not help for the next few lines in > the questioner's message, please do not post unsensible stuff. > > Uwe Ligges > > > > ... > > ... > > > > > > > > ------------------------------------------------------------------------ > > > > ______________________________________________ > > R-help@stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]]
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.