Full_Name: Chanseok Park Version: 2.3.1 OS: RHEL Submission from: (NULL) (130.127.112.89)
Dear Sir/Madam: I wrote some examples below. The plot() function is not working properly with Julian date. For example, log="" should be a default option, but without the repetition of this default option in plot(), we can not draw it especially with Julian date. So, maybe, the plot() function might not be compatible with as.date(). Thanks, C. Park ############################################## library(survival) dat=c("12-5-1995", "12-30-1995", "8-27-1996", "11-20-1996", "8-29-1997" ) miles = c(106, 1468, 7298, 7935, 13440 ) jdat = as.date(dat) plot( jdat, miles ) ## Not working plot( jdat, miles, log="" ) ## Works plot( jdat, miles, type="l") ## Not working plot( jdat, miles, log="", type="l") ## works with WARNING ##=========================== ## Let's use as.Date() and as.date(). jdat = as.Date( as.date(dat) ) plot( jdat, miles ) ## Works plot( jdat, miles, log="" ) ## Works plot( jdat, miles, type="l") ## WOrks ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel