Re: [Rd] length of POSIXlt object (PR#13482)

2009-01-30 Thread Patrick Burns
'The R Inferno' page 93 and page 99. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of The R Inferno and A Guide for the Unwilling S User) twoutop...@gmail.com wrote: The length() of a POSIXlt object is given as 9 regardless of the actual length. For

[Rd] length of POSIXlt object (PR#13482)

2009-01-29 Thread twoutopias
The length() of a POSIXlt object is given as 9 regardless of the actual length. For example: make.date.time function (year=c(2006,2006),month=c(8,8),day=2:5,hour=13,minute=45) {# convert year, etc., into POSIXlt object # d=as.character(make.date(year,month,day)) t=paste(hour,minute,sep=:)