Re: [R] problem in as.date

2009-05-01 Thread Terry Therneau
Note that the 'date' class is no longer required by the survexp function, so the date library is no longer bundled into the survival package. You can still load the date package separately, but I discourage it since the newer Date class has more functionality and support. Terry The

Re: [R] problem in as.date

2009-04-30 Thread jim holtman
What you see is the result of 'printing' something of the class 'date'. > x <- as.date(c("1jan1960")) > x [1] 1Jan60 > str(x) Class 'date' int 0 > unclass(x) [1] 0 > getAnywhere('print.date') A single object matching ‘print.date’ was found It was found in the following places registered S3 meth

[R] problem in as.date

2009-04-30 Thread utkarshsinghal
I never understood that why is the value returned by as.date function in the library(survival) never matches with the description given in the help file: Following is the extract from ?as.date Description: Converts any of the following character forms to a Julian date: 8/31/56, 8-31-1956, 3